body {
  background: linear-gradient(to right, #001a33, #002b2b);
}

.header-container {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.header-join {
    position: absolute;
    top: 10px;
    right: 10px;
}

.join-btn {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.join-btn:hover {
    background-color: #45a049;
}

.header-logo img {
  max-height: 90px;
}

.overlay {
  padding: 10px 10px;
}

.header-container .overlay h1 {
  font-size: 1.8rem;
  color: #FFD700;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
  font-weight: 600;
  margin: 0 0 10px 0; /* Adds 10px of space below h1 */
}

.header-container .overlay h2 {
  font-size: 1.0rem;
  color: white;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
  font-weight: 400;
  margin: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Hero Section */
.hero-astrodir {
  background: linear-gradient(to bottom right, #003300, #000033);
  color: gold;
  padding: 30px 20px;
  text-align: center;
}

/* Container */
.astrodir-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}


/* Filters and View Toggle Layout */
.filters-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.toggle-btn {
  padding: 10px 20px;
  background-color: #2a9d8f;
  color: #1a2a44;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.toggle-btn:hover {
  background-color: #e6c200;
}

/* View Toggle */
.view-toggle {
  display: flex;
  gap: 5px;
}

.view-toggle button {
  padding: 8px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.3s;
}

.view-toggle button.active {
  background-color: #ffd700;
  color: #333;
  border-color: #ffd700;
}

.view-toggle button:hover {
  background-color: #f1f1f1;
}

/* Grid Layout */
.astrodir-grid.grid-view {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px;
  padding: 20px 0;
}

.astrodir-grid.list-view {
  display: flex !important;
  flex-direction: column;
  gap: 15px;
  padding: 20px 0;
}


.reset-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px 20px;
  font-weight: bold;
  background-color: #eef5f2; /* optional styling */
  border: none; /* optional styling */
  cursor: pointer;
}


.filters {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #1a252f;
    padding: 10px;
    border-radius: 5px;
}

.filters label {
    margin: 0;
    font-size: 14px;
    color: #fff;
    white-space: nowrap; /* Prevent label wrapping */
}

.filters input[type="text"],
.filters select,
.filters button {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    height: 40px;
    box-sizing: border-box;
}


.filters button {
    background-color: #f4a261;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    height: 40px; /* Ensure consistent height */
}

.filters button.toggle-btn {
    background-color: #2a9d8f;
}

.filters button.toggle-btn[data-state="on"] {
    background-color: #f4a261;
}

.filters .reset-btn {
    background-color: #e9ecef;
    color: #000;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    height: 40px; /* Ensure consistent height */
    line-height: 40px; /* Center text vertically */
    padding: 0 12px; /* Match input padding */
}

.filters button:hover {
    opacity: 0.9;
}



/* Cards */
.astrodir-card {
  display: flex;
  background: #1a2a44;
  border: 2px solid #2e4057;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  width: 100%;
}

.astrodir-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.astrodir-card.featured {
  border-color: #ffd700;
  border-width: 3px;
}

/* Grid View Layout */
.astrodir-grid.grid-view .astrodir-card {
  flex-direction: column;
}

.astrodir-grid.grid-view .astrodircard-image {
  width: 100%;
  height: 250px;
}

.astrodir-grid.grid-view .astrodircard-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.astrodir-grid.grid-view .card-content {
  padding: 15px;
}

/* List View Layout */
.astrodir-grid.list-view .astrodir-card {
  flex-direction: row;
  align-items: flex-start;
  min-height: 250px;
}

.astrodir-grid.list-view .astrodircard-image {
  width: 250px;
  height: 100%;
  flex-shrink: 0;
}

.astrodir-grid.list-view .astrodircard-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.astrodir-grid.list-view .card-content {
  flex: 1;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.astrodir-grid.list-view .astrologer-description {
  font-size: 0.9em;
  color: #bbb;
  margin-top: 10px;
  flex-grow: 1;
}

/* Image and Content Styling */
.astrodircard-image {
  background-color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2em;
  text-align: center;
}

.astrodircard-image img {
  display: block;
}

/* Card Content */
.card-content h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #ffd700;
}

.card-content p {
  margin: 5px 0;
  font-size: 0.9em;
  color: #fff;
}

.card-content a {
  color: #ffd700;
  text-decoration: none;
}

.card-content a:hover {
  text-decoration: underline;
}

.astrodir-tags {
  font-style: italic;
  color: #ddd;
}

/* Hidden Class Fix */
.hidden {
  display: none !important;
}

.city-dropdown-container {
    position: relative;
    width: 200px; /* Fixed width to match other inputs */
    display: flex;
    flex-direction: column;
}

#city-search {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    height: 40px;
    background-color: #fff;
}

.city-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
}

.city-dropdown.show {
    display: block;
}

.city-option {
    padding: 8px;
    cursor: pointer;
}

.city-option:hover, .city-option[aria-selected="true"] {
    background: #2a9d8f;
    color: #fff;
}









/* Responsive Design */
@media (max-width: 1024px) {
  .astrodir-grid.grid-view {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .astrodir-grid.list-view .astrodir-card {
    flex-direction: column;
    min-height: auto;
  }
  .astrodir-grid.list-view .astrodircard-image {
    width: 100%;
    height: 200px;
  }
  .filters-wrapper {
    flex-direction: column;
  }
  .view-toggle {
    justify-content: flex-start;
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .astrodir-grid.grid-view {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .astrodir-grid.grid-view {
    grid-template-columns: 1fr !important;
  }
  .filters {
    flex-direction: column;
  }
  .filters label {
    width: 100%;
  }
  .view-toggle {
    flex-direction: column;
  }
  .view-toggle button {
    margin: 5px 0;
    width: 100%;
  }
  .astrodir-grid.list-view .astrodir-card {
    flex-direction: column;
  }
  .astrodir-grid.list-view .astrodircard-image {
    width: 100%;
    height: 150px;
  }
}


/* Media Queries */
@media (max-width: 768px) {
    .filters {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .filters label {
        display: block;
        text-align: left;
        margin-bottom: 5px;
    }

    .filters input[type="text"],
    .filters select,
    .filters button {
        width: 100%;
        height: 45px;
        font-size: 16px;
    }

    .city-dropdown-container {
        width: 100%;
    }

    #city-search {
        height: 45px;
        font-size: 16px;
    }

    .city-dropdown {
        width: 100%;
        left: auto;
        right: auto;
    }
}

@media (max-width: 480px) {
    .filters {
        padding: 8px;
        gap: 10px;
    }

    .filters input[type="text"],
    .filters select,
    .filters button {
        height: 40px;
        font-size: 14px;
        padding: 6px 10px;
    }

    #city-search {
        height: 40px;
        font-size: 14px;
    }

    .city-option {
        padding: 6px;
    }
}


/* astrodir.css - Styles for Astrologer New Profile template */

/* Color palette */
:root {
    --golden: #D4A017; /* Golden-yellow color for names and titles */
    --white: #FFFFFF; /* White for text */
    --dark-navy: #1C2526; /* Dark navy for background */
    --dark-green: #2A3D34; /* Dark green for background */
    --highlight: #FFD700; /* Optional highlight color */
}

/* Page-wide styles */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--white);
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--dark-green) 100%);
    position: relative;
    overflow-x: hidden;
}



/* Main container */
.astrologer-profile {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Header styles */
.astrologer-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.astrologer-logo img {
    max-width: 100px;
    height: auto;
}

.astrologer-title {
    flex: 1;
}

.astrologer-title h1 {
    color: var(--golden);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: bold;
    font-size: 2.5em;
    margin: 0;
  }

.designation {
    font-size: 1.2em;
    color: white;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    margin-top: 5px;
}

/* Main content styles */
.tagline {
    color: var(--white);
    font-style: italic;
    margin: 10px 0;
}

.astrologer-photo img {
    max-width: 200px;
    border-radius: 50%;
    height: auto;
}

.expertise, .description, .section, .post-content {
    margin: 20px 0;
}

.expertise h3, .description h3, .section h3, .post-content h3 {
    color: var(--golden);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: bold;
    font-size: 1.8em;
    margin-bottom: 10px;
 }

.expertise p, .description p, .section p, .post-content div {
    color: var(--white);
    line-height: 1.6;
}

.astrologer-thumbnail img {
    max-width: 100%;
    height: auto;
}

/* Footer styles */
.astrologer-footer {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background: #2A3D34;
    margin-top: 40px;
    border-radius: 8px;
}

.footer-column {
    flex: 1;
    margin-right: 20px;
}

.footer-column:last-child {
    margin-right: 0;
}

.footer-column h3 {
    color: var(--golden);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: bold;
    font-size: 1.5em;
    margin-bottom: 10px;
    
}

.footer-column p, .footer-column a {
    color: var(--white);
    margin: 5px 0;
}

.footer-column a:hover {
    color: var(--golden);
    text-decoration: underline;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
}

.social-link:hover {
    color: var(--golden);
}

.social-icon {
    width: 24px;
    height: 24px;
}

/* Error message */
.error-message {
    color: #FF4C4C;
    font-weight: bold;
    margin: 20px 0;
}

/* Additional Classes */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--golden);
    color: var(--dark-navy);
    text-decoration: none;
    border-radius: 5px;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #FFD700;
    color: var(--dark-navy);
}

.highlight {
    color: var(--highlight);
    font-weight: bold;
}

.divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--golden), transparent);
    margin: 20px 0;
}

.callout {
    background-color: rgba(212, 160, 23, 0.1);
    padding: 15px;
    border-left: 4px solid var(--golden);
    color: var(--white);
    margin: 20px 0;
}

/* Responsive design */
@media (max-width: 600px) {
    .astrologer-header {
        flex-direction: column;
        text-align: center;
    }

    .astrologer-footer {
        flex-direction: column;
        gap: 20px;
    }

    .astrologer-photo img {
        max-width: 150px;
    }

    .astrologer-title h1 {
        font-size: 2em;
    }

    .expertise h3, .description h3, .section h3, .post-content h3 {
        font-size: 1.5em;
    }

    .footer-column h3 {
        font-size: 1.3em;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.9em;
    }
}

.loading-spinner {
    display: inline-block;
    margin-right: 10px;
    color: #2a9d8f;
}


/* Existing styles assumed to be present; append or integrate the following */

/* Premium card styling */
.astrodir-card.premium {
    border: 3px solid #FFD700; /* Gold border */
    background-color: #4A2C2A; /* Dark brown/maroon */
    color: #FFFFFF; /* White text for contrast */
}

/* VIP card styling */
.astrodir-card.vip {
    border: 3px solid #FFD700; /* Inherits gold border from premium */
    background-color: #4A2C2A; /* Inherits dark brown/maroon from premium */
    color: #FFFFFF; /* White text for contrast */
    position: relative; /* For positioning the star */
}

.astrodir-card.vip::before {
    content: '★';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #FFD700; /* Gold star */
}


/* Ensure text colors in card-content are readable on dark background */

.astrodir-card.premium .card-content h3,
.astrodir-card.vip .card-content h3 {
    color: #FFFFFF;
}

.astrodir-card.premium .card-content p,
.astrodir-card.vip .card-content p {
    color: #E0E0E0; /* Light gray for secondary text */
}

.astrodir-card.premium .card-content a,
.astrodir-card.vip .card-content a {
    color: #FFD700; /* Gold for links */
}

.astrodir-card.premium .card-content a:hover,
.astrodir-card.vip .card-content a:hover {
    color: #FFE082; /* Lighter gold on hover */
}


/* Featured card styling (for reference, assuming it exists) */
.astrodir-card.featured {
    border: 3px solid #FFD700; /* Gold border, no background change */
}



/* Card links container */
.card-links {
    margin-top: 10px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}


/* Website link styling */
.astrodir-card .card-content .website-link {
    color: #2a9d8f; /* Teal for regular/Featured */
    text-decoration: underline;
    font-size: 14px;
    background: none; /* Explicitly remove button styles */
    padding: 0;
    border: none;
    border-radius: 0;
}

.astrodir-card .card-content .website-link:hover {
    background-color: #f4a261;
}

.astrodir-card.premium .card-content .website-link,
.astrodir-card.vip .card-content .website-link {
    background-color: #FFD700; /* Gold background for Premium/VIP */
    color: #4A2C2A; /* Dark brown text for contrast */
}

.astrodir-card.premium .card-content .website-link:hover,
.astrodir-card.vip .card-content .website-link:hover {
    background-color: #FFE082; /* Lighter gold on hover */
}



/* Existing styles assumed to be present; append or integrate the following */


/* Verified card styling */
.astrodir-card.verified {
    position: relative;
}

.astrodir-card.verified::after {
    content: '✔';
    position: absolute;
    top: 10px;
    right: 40px; /* Adjusted to avoid overlap with VIP star */
    font-size: 20px;
    color: #28a745; /* Bright green */
}




/* Google Reviews link styling */
.astrodir-card .card-content .google-reviews-link {
    color: #4285F4; /* Google blue for regular/Featured */
    text-decoration: underline;
    font-size: 14px;
    background: none; /* Explicitly remove button styles */
    padding: 0;
    border: none;
    border-radius: 0;
}

.astrodir-card .card-content .google-reviews-link:hover {
    color: #3578E5; /* Darker Google blue on hover */
    background: none;
}

.astrodir-card.premium .card-content .google-reviews-link,
.astrodir-card.vip .card-content .google-reviews-link {
    color: #FFD700; /* Gold for Premium/VIP */
}

.astrodir-card.premium .card-content .google-reviews-link:hover,
.astrodir-card.vip .card-content .google-reviews-link:hover {
    color: #FFE082; /* Lighter gold on hover */
}




/* Responsive adjustments */
@media screen and (max-width: 600px) {
    .card-links {
        flex-direction: column;
        gap: 5px;
    }
}


/* Utility */
.no-photo {
  background-color: #666;
  color: #fff;
  padding: 20px;
  text-align: center;
}





/* Profile Page Styles */
.profile-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
}
.profile-header .header-logo img {
    max-width: 100px;
    height: auto;
    margin-right: 20px;
}
.profile-header .header-info h1 {
    margin: 0;
    font-size: 24px;
}
.profile-header .header-info p {
    margin: 5px 0 0;
    color: #666;
}
.profile-content {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}
.hero-section h2 {
    font-size: 32px;
    text-align: center;
    margin: 20px 0;
    color: #2a9d8f;
}
.profile-content section {
    margin-bottom: 30px;
}
.profile-content section h3 {
    font-size: 20px;
    color: #4A2C2A;
}
.profile-footer {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #4A2C2A;
    color: #fff;
}
.profile-footer .footer-column {
    flex: 1;
    margin: 0 10px;
}
.profile-footer .footer-column img {
    max-width: 80px;
    height: auto;
}
.profile-footer .footer-column h4 {
    margin-top: 0;
    color: #FFD700;
}
.profile-footer .footer-column p {
    margin: 5px 0;
}
.profile-footer .footer-column a {
    color: #FFD700;
    text-decoration: none;
}
.profile-footer .footer-column a:hover {
    color: #FFE082;
}
@media screen and (max-width: 782px) {
    .profile-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .profile-header .header-logo img {
        margin-bottom: 10px;
    }
    .profile-footer {
        flex-direction: column;
        gap: 20px;
    }
}




/* Astrodir Admin Styles */


/* Notices */
.notice-error {
    background-color: #ffe6e6;
    padding: 12px 15px;
    border: 1px solid #dc3232;
    border-radius: 4px;
    margin-bottom: 20px;
    position: relative;
}

.notice-success {
    background-color: #e6ffe6;
    padding: 12px 15px;
    border: 1px solid #46b450;
    border-radius: 4px;
    margin-bottom: 20px;
    position: relative;
}

/* Form Layout */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.form-row.first-row,
.form-row.url-row {
    justify-content: space-between;
}

.form-field {
    flex: 1 1 300px;
    min-width: 200px;
}

.form-field.full-width {
    flex: 1 1 100%;
}

.form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #23282d;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="url"],
.form-field input[type="date"],
.form-field textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    transition: border-color 0.2s ease;
}

.form-field input[type="text"]:focus,
.form-field input[type="email"]:focus,
.form-field input[type="url"]:focus,
.form-field input[type="date"]:focus,
.form-field textarea:focus {
    border-color: #0073aa;
    outline: none;
}

.form-field input[type="date"] {
    min-width: 180px;
    max-width: 200px;
    padding: 10px;
}

.form-field textarea {
    min-height: 100px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.checkbox-field {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-field label {
    margin-bottom: 0;
    font-weight: normal;
}

.checkbox-field input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
}

/* Buttons */
.toggle-btn, .reset-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.toggle-btn {
    background-color: #0073aa;
    color: #fff;
}

.toggle-btn:hover {
    background-color: #005177;
}

.reset-btn {
    background-color: #dc3232;
    color: #fff;
}

.reset-btn:hover {
    background-color: #b32d2e;
}

/* Table Styles */
.astrodir-table {
    margin-top: 20px;
}

.wp-list-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.wp-list-table th,
.wp-list-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e1e1e1;
}

.wp-list-table th {
    background-color: #f9f9f9;
    font-weight: 600;
    color: #23282d;
}

.wp-list-table tr.verified {
    background-color: #e6ffe6;
}

.wp-list-table tr.featured {
    background-color: #fff8e1;
}

.wp-list-table tr.premium,
.wp-list-table tr.vip {
    background-color: #4a2c2a;
    color: #ffffff;
    position: relative;
}

.wp-list-table tr.subscribed {
    background-color: #e6f3ff;
}

.wp-list-table tr.vip::before {
    content: '★';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 16px;
    color: #ffd700;
}

.wp-list-table tr.premium td a,
.wp-list-table tr.vip td a {
    color: #ffd700;
}

.wp-list-table tr.premium td a:hover,
.wp-list-table tr.vip td a:hover {
    color: #ffe082;
}

/* Pagination */
.pagination {
    margin-top: 20px;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 12px;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #0073aa;
    background-color: #fff;
    transition: background-color 0.2s ease;
}

.pagination .page-numbers:hover {
    background-color: #f1f1f1;
}

.pagination .page-numbers.current {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}




/* Chatbot Styles */
#chat-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #2a9d8f;
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: bold;
  transition: background-color 0.3s;
}

#chat-button:hover {
  background-color: var(--golden);
}

#chat-window {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 320px;
  height: 400px;
  background: var(--dark-navy);
  border: 2px solid #2e4057;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  overflow: hidden;
}

#chat-header {
  background-color: #2a9d8f;
  color: var(--white);
  padding: 10px;
  text-align: center;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: bold;
  font-size: 1.2em;
}

#chat-body {
  height: 300px;
  overflow-y: auto;
  padding: 10px;
  font-size: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--dark-navy) 0%, var(--dark-green) 100%);
}

#chat-footer {
  border-top: 1px solid #2e4057;
  padding: 10px;
  display: flex;
  gap: 5px;
  background: var(--dark-navy);
}

#chat-input {
  width: 75%;
  padding: 8px;
  border: 1px solid #2e4057;
  border-radius: 4px;
  font-size: 14px;
  background-color: var(--white);
  color: var(--dark-navy);
}

#chat-input:focus {
  border-color: var(--golden);
  outline: none;
}

#chat-send {
  width: 20%;
  background-color: #2a9d8f;
  color: var(--white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: bold;
  transition: background-color 0.3s;
}

#chat-send:hover {
  background-color: var(--golden);
}

.chat-message {
  margin-bottom: 10px;
  padding: 8px;
  border-radius: 10px;
  max-width: 80%;
  word-wrap: break-word;
  font-size: 14px;
}

.chat-message.bot {
  background: #4A2C2A;
  color: #E0E0E0;
  text-align: left;
}

.chat-message.bot a {
  color: #FFD700;
  text-decoration: none;
}

.chat-message.bot a:hover {
  color: #FFE082;
  text-decoration: underline;
}

.chat-message.user {
  background: #f4a261;
  color: var(--dark-navy);
  text-align: right;
  margin-left: auto;
}

/* Responsive Chatbot Styles */
@media (max-width: 768px) {
  #chat-window {
    width: 280px;
    height: 350px;
  }
  #chat-body {
    height: 250px;
  }
  #chat-input {
    font-size: 13px;
  }
  #chat-send {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  #chat-window {
    width: 100%;
    max-width: 300px;
    height: 300px;
    bottom: 60px;
    right: 10px;
  }
  #chat-body {
    height: 200px;
    font-size: 12px;
  }
  #chat-input {
    font-size: 12px;
    padding: 6px;
  }
  #chat-send {
    font-size: 12px;
    padding: 6px;
  }
  #chat-button {
    padding: 8px 16px;
    font-size: 14px;
  }
}





/* Responsive Design */
@media screen and (max-width: 782px) {
    .astrodir-container {
        padding: 10px;
    }

    .form-row,
    .form-row.first-row,
    .form-row.url-row {
        flex-direction: column;
        gap: 15px;
    }

    .form-field {
        flex: 1 1 100%;
    }

    .checkbox-group {
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
    }

    .wp-list-table th,
    .wp-list-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 10px;
    }

    .wp-list-table thead {
        display: none;
    }

    .wp-list-table tr {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        padding: 10px;
        background-color: #fff;
    }

    .wp-list-table tr.vip::before {
        top: 5px;
        right: 5px;
    }

    .toggle-btn, .reset-btn {
        width: 100%;
        margin-bottom: 10px;
    }
}


