/* Reset default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

:root {
  /* Light theme variables */
  --header-bg-color: #4E5D6C;
  --header-text-color: #fff;
  --button-bg-color: #007bff;
  --button-bg-hover-color: #0056b3;
  --card-bg-color: #fff;
  --accent-color: #28a745;
  --text-color: #333;
  --main-bg-color: #FFFFFF;
  --light-bg-color: #ffffff;
  --light-text-color: #000000;
  --dark-bg-color: #222222;
  --dark-text-color: #ffffff;
  --light-card-bg-color: #fff;
  --dark-card-bg-color: #333;
  --primary-color: #edd5e1;
  --secondary-color: #FDF2F8;
  --primary-pink: #FF4D8D;
  --background-pink: #FFF1F6;
  --text-dark: #2D3748;
  --shadow-color: rgba(0, 0, 0, 0.1);
  
  /* Theme transition */
  --theme-transition: background-color 0.3s ease, color 0.3s ease;
}

/* Dark theme variables */
:root.dark-mode {
  --header-bg-color: #1a1a1a;
  --header-text-color: #fff;
  --button-bg-color: #0056b3;
  --button-bg-hover-color: #003d80;
  --card-bg-color: #2d2d2d;
  --accent-color: #28a745;
  --text-color: #ffffff;
  --main-bg-color: #1a1a1a;
  --light-bg-color: #2d2d2d;
  --light-text-color: #ffffff;
  --dark-bg-color: #1a1a1a;
  --dark-text-color: #ffffff;
  --light-card-bg-color: #2d2d2d;
  --dark-card-bg-color: #1a1a1a;
  --primary-color: #FF4D8D;
  --secondary-color: #2d2d2d;
  --primary-pink: #FF4D8D;
  --background-pink: #2d2d2d;
  --text-dark: #ffffff;
  --shadow-color: rgba(255, 255, 255, 0.1);
}

/* Apply transitions to elements that change with theme */
body,
.header,
.chat-container,
.message-input,
.sidebar,
.chat-message {
  transition: var(--theme-transition);
}

/* Dark mode specific styles */
.dark-mode body {
  background-color: var(--main-bg-color);
  color: var(--text-color);
}

.dark-mode .header {
  background-color: var(--header-bg-color);
}

.dark-mode .chat-container {
  background-color: var(--card-bg-color);
}

.dark-mode .message-input {
  background-color: var(--light-bg-color);
  color: var(--text-color);
}

.dark-mode .sidebar {
  background-color: var(--light-bg-color);
  border-color: var(--dark-bg-color);
}

.dark-mode .chat-message {
  background-color: var(--light-bg-color);
  color: var(--text-color);
}

/* Header specific styles */
header {
  background-color: #FFFFFF;
  color: #374151;
  padding: 0;
  border-bottom: 1px solid #e5e7eb;
  height: 48px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

@media (min-width: 640px) {
  header {
    height: 56px;
  }
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

header nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  header nav {
    gap: 1.5rem;
  }
}

header a {
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

@media (min-width: 640px) {
  header a {
    font-size: 16px;
  }
}

header a:hover {
  color: #F3175C;
}

header a[href*="login"],
header a[href*="build"] {
  color: #FFFFFF;
  padding: 6px 16px;
  border-radius: 8px;
  background-color: #F3175C;
  white-space: nowrap;
}

header a[href*="login"]:hover,
header a[href*="build"]:hover {
  background-color: #E0164F;
  color: #FFFFFF;
}

/* User menu button */
.user-menu-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease;
  background: transparent;
  border: none;
  cursor: pointer;
}

.user-menu-btn:hover {
  background-color: #f3f4f6;
}

.user-menu-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(243, 23, 92, 0.2);
}

/* Dropdown menu */
.dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  width: 16rem;
  background-color: #FFFFFF;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  z-index: 50;
  overflow: hidden;
}

.dropdown-content a {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  color: #374151;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.dropdown-content a:hover {
  background-color: #f3f4f6;
}

/* Main content padding to account for fixed header */
body {
  padding-top: 48px;
}

@media (min-width: 640px) {
  body {
    padding-top: 56px;
  }
}

.container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px;
  background-color: var(--card-bg-color);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.create-agent-btn {
  background-color: var(--primary-pink);
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  margin-bottom: 20px;
  transition: all 0.3s;
  display: inline-block;
}

.auth-and-actions p,
.auth-and-actions a {
  margin: 0 10px;
  color: var(--header-text-color);
}

.auth-and-actions a {
  text-decoration: none;
}

.create-agent-btn:hover {
  background-color: #FF3377;
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.agent-card {
  background-color: var(--card-bg-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px var(--shadow-color);
  transition: transform 0.2s ease-in-out;
}

.agent-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px var(--shadow-color);
}

.agent-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  border: 3px solid var(--accent-color);
}

.agent-card h3 {
  color: var(--text-color);
}

.chat-btn,
.btn.btn-primary {
  background-color: var(--primary-pink);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 10px;
  transition: all 0.3s;
  border: none;
  display: block;
}

.chat-btn:hover,
.btn.btn-primary:hover {
  background-color: #FF3377;
}

h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
  text-align: center;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #555;
}

.form-group input[type="text"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-pink);
  ring-color: var(--primary-pink);
}

.form-group textarea {
  height: 100px;
}

.form-group select[multiple] {
  height: 120px;
}

/* Button Styles for Forms */
.btn-primary:hover {
  background-color: #FF3377;
}

.btn-danger {
  background-color: #dc3545;
  color: #fff;
  text-align: center;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.btn-danger:hover {
  background-color: #c82333;
}

.header-title {
  font-size: 2rem;
}

.auth-and-actions {
  position: relative;
}

/* Additional Styles for Authentication Forms */
.auth-form {
  max-width: 400px;
  margin: 0 auto;
}

.auth-form .form-group {
  margin-bottom: 20px;
}

.auth-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.auth-form button[type="submit"] {
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.auth-form button[type="submit"]:hover {
  background-color: #0056b3;
}

.link-btn {
  background-color: var(--button-bg-color);
  color: white;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.link-btn:hover {
  background-color: var(--button-bg-hover-color);
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 3.5rem);
}

.modal-dialog-centered::before {
  content: "";
  display: block;
  height: calc(100vh - 3.5rem);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  /* Align buttons to the right */
  gap: 10px;
  /* Add some spacing between buttons */
}

.modal-footer .btn {
  flex: 0 0 auto;
  /* Prevent buttons from stretching */
  width: auto;
  /* Reset the width */
  max-width: none;
  /* Reset the max-width */
}

.modal-footer {
  display: flex;
  justify-content: space-around;
  /* This will space out your buttons evenly */
  align-items: center;
}

/* Alert Styles */
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}

.alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

.skill-card {
  transition: transform 0.3s ease;
}

.skill-card:hover {
  transform: scale(1.1);
}

.skill-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.skill-card:hover .skill-title {
  white-space: normal;
  overflow: visible;
}

.loading-indicator {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 20px;
  border-radius: 5px;
  z-index: 9999;
}

.button-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.button-container .btn {
  flex: 1;
  margin-right: 10px;
}

.button-container .oauth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  color: #000;
  border-radius: 4px;
  padding: 5px 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.button-container .oauth-container:hover {
  background-color: #f1f1f1;
}

.button-container .oauth-container img {
  margin-right: 10px;
  margin-top: 10px;
}

.button-container .oauth-container span {
  font-weight: bold;
}

/* Custom styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #FFFFFF;
}

.agent-card {
    position: relative;
    transition: all 0.3s ease;
}

.agent-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.edit-button {
    opacity: 0.9;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.edit-button:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
    }
    
    .categories {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    max-width: 1128px;
    height: auto;
    min-height: 260px;
    margin: 0 auto;
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

.hero-section .bg-container {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 260px;
    background: #F5F5F5;
    border-radius: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.hero-section .bg-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.hero-section .content {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.hero-section h1 {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 140%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000;
    letter-spacing: -0.02em;
    margin: 0;
}

.hero-section p {
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 140%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000;
    letter-spacing: -0.01em;
    margin: 0;
}

/* Search Container Styles */
.hero-section .search-container {
    width: 100%;
    max-width: 640px;
    height: 56px; /* h-14 */
    position: relative;
    margin: 0 auto;
}

.hero-section .search-input {
    width: 100%;
    height: 56px; /* h-14 */
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px; /* var(--radius-lg) */
    padding: 0 56px 0 24px; /* px-6 with space for button */
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #4B5563;
    transition: all 0.2s ease;
}

.hero-section .search-input::placeholder {
    color: #9CA3AF;
}

.hero-section .search-input:focus {
    outline: 2px solid #E50D7D; /* var(--color-magenta) */
    box-shadow: 0 0 0 4px rgba(229, 0, 125, 0.25);
    border-color: transparent;
}

.hero-section .search-submit {
    position: absolute;
    right: 0;
    top: 0;
    width: 56px; /* w-14 */
    height: 56px; /* h-14 */
    background: #E50D7D; /* var(--color-magenta) */
    border: none;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: white;
    transition: all 0.2s ease;
}

.hero-section .search-submit:hover {
    filter: brightness(95%);
}

.hero-section .search-submit:active {
    transform: translateY(1px);
}

.hero-section .search-submit svg {
    width: 24px;
    height: 24px;
}

.hero-section .illustration {
    position: relative;
    width: 456px;
    height: 351px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
}

.hero-section .illustration img {
    width: 456px;
    height: 456px;
    object-fit: contain;
    transform: translateY(52px);
    transition: transform 0.4s ease-out;
}

.hero-section:hover .illustration img {
    transform: translateY(42px) scale(1.02);
}

@media (max-width: 1200px) {
    .hero-section {
        width: 100%;
        height: auto;
        padding: 0 20px;
        margin-top: 20px;
    }

    .hero-section .bg-container {
        position: relative;
        width: 100%;
        height: auto;
        top: 0;
        padding: 0;
    }

    .hero-section .content {
        position: relative;
        width: 100%;
        height: auto;
        padding: 30px 20px;
        gap: 24px;
    }

    .hero-section h1,
    .hero-section p {
        width: 100%;
        height: auto;
    }

    .hero-section .search-container {
        width: 100%;
        max-width: 481px;
    }

    .hero-section .illustration {
        position: relative;
        width: 100%;
        max-width: 456px;
        height: auto;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
    }
    
    .hero-section .bg-container {
        border-radius: 16px;
    }
    
    .hero-section .content {
        padding: 24px 16px;
    }
    
    .hero-section h1 {
        font-size: 24px;
        line-height: 32px;
    }

    .hero-section p {
        font-size: 18px;
        line-height: 28px;
    }

    .hero-section .content {
        gap: 16px;
    }
    
    .hero-section .illustration {
        height: 300px;
    }
    
    .hero-section .illustration img {
        width: 300px;
        height: 300px;
        transform: translateY(20px);
    }
    
    .hero-section:hover .illustration img {
        transform: translateY(15px) scale(1.02);
    }
}

/* Categories */
.category-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 1px solid #E5E7EB;
    color: #4B5563;
    transition: all 0.2s ease;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: 500;
    border-radius: 9999px;
    white-space: nowrap;
    min-height: 36px;
}

.category-btn span {
    color: inherit;
    transition: color 0.2s ease;
}

.category-btn:hover {
    background-color: #E3175E;
    border-color: #E3175E;
    color: black;
}

.category-btn:hover span {
    color: black !important;
}

.category-btn.active {
    background-color: #E3175E !important;
    border-color: #E3175E !important;
    color: white !important;
}

.category-btn.active span {
    color: inherit !important;
}

/* First category button (Todas as categorias) */
/* .category-btn:first-child {
    background-color: #E3175E;
    color: white;
    border-color: #E3175E;
} */

.category-btn:first-child span {
    color: inherit !important;
}

.categories-section {
    position: relative;
    margin: 12px 0;
    padding: 0 40px;
    width: 100%;
    min-height: 48px;
}

.categories-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: white;
}

.categories-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 0;
}

.categories-scroll .flex {
    display: flex;
    gap: 8px;
    padding-right: 40px;
    width: max-content;
    align-items: center;
}

.category-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 1px solid #E5E7EB;
    color: #4B5563;
    transition: all 0.2s ease;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: 500;
    border-radius: 9999px;
    white-space: nowrap;
    min-height: 36px;
}

.category-btn:hover {
    background-color: #E3175E;
    border-color: #E3175E;
    color: black;
}

.category-btn.active {
    background-color: #E3175E !important;
    color: white !important;
    border-color: #E3175E !important;
}

/* First category button (Todas as categorias) should always be magenta */
/* .category-btn:first-child {
    background-color: #E3175E;
    color: white;
    border-color: #E3175E;
} */

/* Gradient fade effect */
.categories-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 60px;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,1) 90%);
    pointer-events: none;
}

/* Scroll buttons */
.scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.scroll-button:hover {
    background: #E3175E;
    color: white;
    border-color: #E3175E;
}

.scroll-left {
    left: 0;
}

.scroll-right {
    right: 0;
}

/* Mobile optimization */
@media (max-width: 767px) {
    .categories-section {
        padding: 0 16px;
        margin: 16px 0;
    }
    
    .category-btn {
        padding: 6px 12px;
        font-size: 14px;
    }
}

.assistant-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s;
}

.assistant-card:hover {
    transform: translateY(-4px);
}

.assistant-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.assistant-card h3 {
    font-size: 1rem;
    font-weight: 500;
    color: #1F2937;
    padding: 1rem;
}

/* Hero section styles */
.bg-pink-50 {
    background-color: #FFF1F6;
}

.search-container input {
    font-size: 0.9375rem;
    height: 42px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0 16px;
    width: 100%;
    background-color: white;
}

.search-container input::placeholder {
    color: #9CA3AF;
}

.search-container button {
    color: #E3175E;
}

/* Update category pills */
.category-btn.active {
    background-color: #E3175E;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 16px;
}

.category-btn:hover {
    border-color: #E3175E;
    color: #E3175E;
}

/* Update focus states */
.form-group input[type="text"]:focus,
.form-group textarea:focus,
.form-group select:focus,
.search-container input:focus {
    border-color: #E3175E;
    ring-color: #E3175E;
    outline: none;
    box-shadow: 0 0 0 2px rgba(227, 23, 94, 0.1);
}

/* Assistant cards styling */
.agent-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.2s ease;
}

.agent-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.agent-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.agent-card h3 {
    font-size: 1.125rem; /* 18px */
    font-weight: 600; /* Slightly bolder */
    color: #111827;
    margin-top: 0.75rem;
    line-height: 1.25;
}

/* Section title styling */
h2.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    text-align: left;
    margin-bottom: 1rem;
}

/* Assistant cards styling */
.grid {
    margin: 0 -12px; /* Negative margin to align with container */
}

.grid > div {
    margin: 12px; /* Individual card margin */
}

/* Card styles */
.bg-white {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
}

.bg-white:hover {
    background: #F9FAFB;
}

/* Image container */
.relative.w-full {
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

/* Title container */
.px-4.py-3 h3 {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    line-height: 20px;
}

/* Grid layout adjustments */
@media (min-width: 768px) {
    .grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Assistant cards styling */
.grid > div {
    width: 100%;
    background: #FFFFFF;
}

/* Image container */
.relative.w-full img {
    object-fit: cover;
    object-position: center;
}

/* Title container */
.px-3.py-2 h3 {
    font-size: 0.875rem; /* 14px */
    font-weight: 600;
    color: #111827;
    line-height: 1.25;
}

/* Add this at the end of your CSS file */
.card-hover-effect {
    position: relative;
    overflow: hidden;
}

.card-hover-effect .hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.card-hover-effect:hover .hover-overlay {
    opacity: 1;
    visibility: visible;
}

.card-hover-effect:hover {
    transform: scale(1.05);
}

.description-text {
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.card-hover-effect:hover .description-text {
    transform: translateY(0);
}

/* Category button styles */
.category-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 1px solid #E5E7EB;
    color: #4B5563;
    transition: all 0.2s ease;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: 500;
    border-radius: 9999px;
    white-space: nowrap;
    min-height: 36px;
}

.category-btn span {
    color: inherit;
    transition: color 0.2s ease;
}

.category-btn:hover {
    background-color: #E3175E;
    border-color: #E3175E;
    color: black;
}

.category-btn:hover span {
    color: black !important;
}

.category-btn.active {
    background-color: #E3175E !important;
    border-color: #E3175E !important;
    color: white !important;
}

.category-btn.active span {
    color: inherit !important;
}

/* Add these custom color classes */
.bg-pooka-500 {
    background-color: #FF1F7D !important;
}

.bg-pooka-600 {
    background-color: #E61B70 !important;
}

.hover\:bg-pooka-600:hover {
    background-color: #E61B70 !important;
}

.text-pooka-500 {
    color: #FF1F7D !important;
}

.hover\:text-pooka-500:hover {
    color: #FF1F7D !important;
}

.card-hover-effect {
    position: relative;
    overflow: hidden;
}

.card-hover-effect .hover-overlay,
.card-hover-effect .edit-button {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.card-hover-effect:hover .hover-overlay,
.card-hover-effect:hover .edit-button {
    opacity: 1;
    visibility: visible;
}

.edit-button {
    z-index: 20;  /* Ensure it's above the hover overlay */
}

.edit-button:hover {
    transform: scale(1.1);
}

.agent-card-wrapper {
    position: relative;
}

.edit-button {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 20;
}

.agent-card-wrapper:hover .edit-button {
    opacity: 1;
    visibility: visible;
}

.edit-button:hover {
    transform: scale(1.1);
}

/* Post count badge hover effects */
.group:hover .group-hover\:opacity-100 {
    opacity: 1;
}

.group:hover .group-hover\:mr-0 {
    margin-right: 0;
}

.group-hover\:opacity-100 {
    transition: all 0.3s ease;
}

/* Ensure the badge is always on top */
.absolute.top-2.right-2 {
    z-index: 15;
}

/* Group selection prevention */
.group {
  user-select: none;
}

/* CTA Section Styles */
.cta-container {
    position: relative;
    width: 1130px;
    height: 155.29px;
    margin: 0 auto;
    background: #FFEBF1;
    border-radius: 8px;
}

.cta-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 36px;
    gap: 283px;
}

/* Remove conflicting text-content class */
.cta-content > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 8px;
    width: 542.92px;
    height: 83.29px;
}

.cta-title {
    width: 542.92px;
    height: 23.29px;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 140%;
    display: flex;
    align-items: center;
    color: #000000;
    align-self: stretch;
}

.cta-description {
    width: 542.92px;
    height: 52px;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    display: flex;
    align-items: center;
    color: #000000;
    align-self: stretch;
}

.cta-button {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 7px 16px;
    gap: 8px;
    width: 182px;
    height: 56px;
    background: #E3175E;
    border: 1px solid #E3175E;
    border-radius: 8px;
    text-decoration: none;
}

.button-text {
    width: 127px;
    height: 22px;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    margin: 0 auto;
}

/* Responsive adjustments for CTA section */
@media (max-width: 1200px) {
    .cta-container {
        width: 100%;
        height: auto;
    }

    .cta-content {
        flex-direction: column;
        gap: 24px;
        padding: 24px;
    }

    .text-content {
        width: 100%;
        height: auto;
    }

    .cta-title,
    .cta-description {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 640px) {
    .cta-content {
        flex-direction: column;
    }
    .cta-title {
        font-size: 1.5rem;
    }
    .cta-description {
        font-size: 1rem;
    }
    .cta-button {
        width: 100%;
    }
}