/**
 * Autonaba - Modern Real Estate Plugin & Theme
 * Main Stylesheet
 */

/* Test to verify CSS is loading */
.listivo-auth-wrapper {
    background-color: #f0f8ff !important;
    /* AliceBlue - very noticeable */
    border: 3px solid #ff6b00 !important;
    /* Orange border to verify */
}

@keyframes notification-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }

    100% {
        transform: scale(1);
    }
}

.pulse-animation {
    animation: notification-pulse 0.5s ease-in-out;
}

/* Dashboard Card Styles */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.dashboard-header h1 {
    margin: 0 0 10px 0;
    font-size: 2.5rem;
    font-weight: 700;
}

.dashboard-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

/* Dashboard Cards */
.dashboard-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: inherit;
    display: block;
}

.dashboard-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-header {
    padding: 20px 15px;
    text-align: center;
    color: white;
    position: relative;
}

.card-header.properties {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.card-header.profile {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.card-header.packages {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.card-header.add {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

.card-icon::before {
    content: "🏠";
    font-family: sans-serif;
}

.card-icon.profile::before {
    content: "👤";
}

.card-icon.packages::before {
    content: "💳";
}

.card-icon.add::before {
    content: "➕";
    font-size: 3rem;
}

.card-body {
    padding: 15px;
    text-align: center;
}

.card-body h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 600;
}

.card-body p {
    margin: 0;
    color: #7f8c8d;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Content Sections */
.content-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.content-section h2 {
    margin: 0 0 25px 0;
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 3px solid #f8f9fa;
}

/* Properties Grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.property-image {
    height: 200px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #95a5a6;
    font-size: 1.2rem;
    position: relative;
}

.property-content {
    padding: 20px;
}

.property-title {
    margin: 0 0 15px 0;
    font-size: 1.4rem;
    color: #2c3e50;
}

.property-title a {
    color: inherit;
    text-decoration: none;
}

.property-title a:hover {
    color: #3498db;
}

.property-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #7f8c8d;
    font-size: 0.95rem;
}

.property-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3498db;
    margin: 10px 0;
}

.property-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn {
    flex: 1;
    padding: 12px 20px;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
}

/* Profile Form */
.profile-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    outline: none;
}

/* Password Toggle Styles */
.password-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.password-toggle {
    position: absolute;
    right: 10px;
    color: #64748b;
    cursor: pointer;
    z-index: 2;
    background: none;
    border: none;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.password-toggle:hover {
    color: #ff6b00;
    background: rgba(255, 107, 0, 0.1);
}

.form-control.with-password-toggle {
    padding-right: 40px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 15px;
    box-sizing: border-box;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 992px) {
    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        padding: 15px;
    }

    .dashboard-header h1 {
        font-size: 2rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .content-section {
        padding: 25px;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .row {
        flex-direction: column;
    }

    .col-md-4 {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .property-actions {
        flex-direction: column;
    }
}

/* Notification System */
.autonaba-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.autonaba-notification.success {
    background-color: #10b981;
}

.autonaba-notification.error {
    background-color: #ef4444;
}

.autonaba-notification.info {
    background-color: #3b82f6;
}

.autonaba-notification.show {
    transform: translateX(0);
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
}

.breadcrumb-item a {
    color: #3b82f6;
}

.breadcrumb-item.active {
    color: #64748b;
}

/* Page Header */
.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.page-title {
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

/* About Page */
.autonaba-about-page {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin-bottom: 2rem;
}

.autonaba-about-content {
    margin-bottom: 2rem;
}

.autonaba-about-content h2 {
    font-weight: 700;
    color: #0f172a;
    margin: 1.5rem 0 1rem;
}

.autonaba-about-content p {
    line-height: 1.8;
    color: #64748b;
}

.autonaba-about-sidebar {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem;
}

.autonaba-team-members {
    margin-top: 1rem;
}

.autonaba-team-member {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.autonaba-team-member:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.autonaba-team-member h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #0f172a;
}

.autonaba-team-member p {
    color: #64748b;
    margin: 0;
}

/* Contact Page */
.autonaba-contact-page {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin-bottom: 2rem;
}

.autonaba-contact-form-wrapper {
    margin-bottom: 2rem;
}

.autonaba-contact-form-wrapper h2 {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #0f172a;
    display: block;
}

.form-control {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.btn {
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background-color: #2563eb;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.autonaba-contact-info h3 {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.autonaba-contact-item {
    margin-bottom: 1.5rem;
}

.autonaba-contact-item h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.autonaba-contact-item p {
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Hero Search Bar */
.autonaba-hero-search {
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('https://demo4.listivotheme.com/wp-content/uploads/2022/02/hero_4_main.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 5rem 0;
    margin-bottom: 3rem;
}

.autonaba-search-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    color: #0f172a;
    margin-top: 2rem;
}

.autonaba-search-form .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.autonaba-search-form .form-control,
.autonaba-search-form .form-control,
.autonaba-search-form .form-select {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.75rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.autonaba-search-form .form-control:focus,
.autonaba-search-form .form-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.autonaba-search-button {
    padding: 0.75rem 1.5rem;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    height: 100%;
}

.autonaba-search-button:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Category Icons */
.autonaba-categories {
    margin: 3rem 0;
}

.autonaba-categories h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
    color: #0f172a;
}

.autonaba-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.autonaba-category-item {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: #0f172a;
}

.autonaba-category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    color: #0f172a;
    text-decoration: none;
}

.autonaba-category-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    /* Fallback content in case icon doesn't load */
    position: relative;
}

.autonaba-category-icon i {
    /* Ensure Font Awesome icons display properly */
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.autonaba-category-icon:empty:before,
.autonaba-category-icon i:before {
    /* Fallback content in case icon doesn't load */
    content: "🏠";
    /* Fallback house icon */
    font-size: 2rem;
    font-family: sans-serif;
}

/* Special styling for land icon */
.autonaba-category-icon .fa-mountain {
    color: #22c55e;
    /* Green color for land */
}

.autonaba-category-name {
    font-weight: 500;
    color: #0f172a;
}

/* Featured Listings */
.autonaba-featured-listings {
    margin: 3rem 0;
}

.autonaba-featured-listings h2 {
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #0f172a;
}

/* Property Grid */
.autonaba-property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.property-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background: #fff;
    position: relative;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.autonaba-property-featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #f59e0b;
    color: #000;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
}

.property-content {
    padding: 1.5rem;
}

.property-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.property-title a {
    color: #0f172a;
    text-decoration: none;
}

.property-title a:hover {
    color: #3b82f6;
}

.property-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #64748b;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
    margin: 0.5rem 0;
}

.autonaba-property-excerpt {
    color: #64748b;
    margin-bottom: 1rem;
}

.property-card .btn {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    background-color: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    width: 100%;
    text-align: center;
}

.property-card .btn:hover {
    background-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.autonaba-ad-type {
    font-size: 0.8125rem;
    color: #64748b;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
}

.autonaba-ad-type i.fa-mountain {
    color: #22c55e;
    /* Green color for land */
}

.autonaba-ad-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.25rem;
}

/* Property Actions */
.property-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.property-actions .btn-action {
    flex: 1;
    padding: 0.5rem;
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    color: #64748b;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    text-align: center;
    cursor: pointer;
}

.property-actions .btn-action:hover {
    background: #3b82f6;
    color: white;
}

.property-actions .btn-action.active {
    background: #3b82f6;
    color: white;
}

/* View Switcher */
.autonaba-view-switcher {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.autonaba-view-button {
    background: white;
    border: 1px solid #cbd5e1;
    padding: 0.5rem 1rem;
    cursor: pointer;
    margin-left: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.autonaba-view-button:hover {
    background-color: #f1f5f9;
}

.autonaba-view-button.active {
    background-color: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

/* Recently Viewed and Related Properties */
.autonaba-recently-viewed,
.autonaba-related-properties {
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid #e2e8f0;
}

.autonaba-recently-viewed h2,
.autonaba-related-properties h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
    font-weight: 600;
}

.autonaba-recently-viewed .autonaba-ad-card,
.autonaba-related-properties .autonaba-ad-card {
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
}

.autonaba-recently-viewed .autonaba-ad-card:hover,
.autonaba-related-properties .autonaba-ad-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.autonaba-recently-viewed .autonaba-ad-image,
.autonaba-related-properties .autonaba-ad-image {
    height: 150px;
    overflow: hidden;
    border-radius: 4px 4px 0 0;
}

.autonaba-recently-viewed .autonaba-ad-image img,
.autonaba-related-properties .autonaba-ad-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.autonaba-recently-viewed .autonaba-ad-content,
.autonaba-related-properties .autonaba-ad-content {
    padding: 1rem;
}

.autonaba-recently-viewed .autonaba-ad-title,
.autonaba-related-properties .autonaba-ad-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    margin-right: 0.5rem;
}

.autonaba-recently-viewed .autonaba-ad-title a,
.autonaba-related-properties .autonaba-ad-title a {
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
}

.autonaba-recently-viewed .autonaba-ad-title a:hover,
.autonaba-related-properties .autonaba-ad-title a:hover {
    color: #ff6b00;
}

.autonaba-recently-viewed .autonaba-ad-price,
.autonaba-related-properties .autonaba-ad-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ff6b00;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 0.5rem;
}

.autonaba-ad-price-condition {
    font-size: 0.75rem;
    font-weight: 400;
    color: #64748b;
    background-color: #f1f5f9;
    padding: 0.125rem 0.25rem;
    border-radius: 9999px;
    white-space: nowrap;
}

.autonaba-ad-agent-fee {
    font-size: 0.75rem;
    font-weight: 600;
    color: #ff6b00;
    margin-left: 0.5rem;
}

.autonaba-property-agent-fee {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ff6b00;
    margin-left: 0.5rem;
}

.property-agent-fee {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ff6b00;
    margin-left: 0.5rem;
}

.autonaba-recently-viewed .autonaba-ad-location,
.autonaba-related-properties .autonaba-ad-location {
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    align-items: center;
    margin-right: 0.5rem;
}

.autonaba-recently-viewed .autonaba-ad-location i,
.autonaba-related-properties .autonaba-ad-location i {
    margin-right: 0.25rem;
}

/* Favorite Icon */
.autonaba-favorite-icon {
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    color: #ffc107;
    display: inline-block;
    vertical-align: middle;
}

.autonaba-favorite-icon:hover {
    transform: scale(1.2);
}

.autonaba-favorite-container {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    user-select: none;
    position: relative;
    z-index: 10;
    background: transparent;
    border: none;
    vertical-align: middle;
}

.autonaba-favorite-container:hover {
    transform: scale(1.1);
}

.autonaba-favorite-container:hover .autonaba-favorite-icon {
    color: #ffc107;
}

.autonaba-favorite-icon.far.fa-star {
    color: #64748b;
    opacity: 0.7;
}

.autonaba-favorite-icon.fas.fa-star {
    color: #ffc107;
    opacity: 1;
}

/* Property Comment Styles */
.autonaba-comment-container {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    user-select: none;
    /* Prevent text selection on click */
    position: relative;
    z-index: 10;
    /* Ensure it's above other elements */
    background: transparent;
    border: none;
}

.autonaba-comment-container:hover {
    background: transparent;
    transform: scale(1.1);
}

.autonaba-comment-icon {
    color: #64748b;
    transition: color 0.2s ease;
    font-size: 1rem;
    opacity: 0.7;
}

.autonaba-comment-container:hover .autonaba-comment-icon {
    color: #3b82f6;
}

.autonaba-comment-icon.fa-comment {
    color: #3b82f6;
    opacity: 1;
}

.autonaba-comment-count {
    margin-left: 2px;
    font-size: 0.9rem;
    color: #64748b;
    vertical-align: middle;
}

/* AJAX Loading */
.autonaba-loading {
    text-align: center;
    padding: 2rem;
    display: none;
}

.autonaba-loading-spinner {
    border: 4px solid #e2e8f0;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .autonaba-search-form {
        padding: 1.5rem;
    }

    .autonaba-search-form .row>div {
        margin-bottom: 1rem;
    }

    .autonaba-property-grid {
        grid-template-columns: 1fr;
    }

    .autonaba-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .autonaba-hero-search {
        padding: 3rem 0;
    }

    .autonaba-notification {
        right: 10px;
        left: 10px;
    }


    .autonaba-about-page,
    .autonaba-contact-page {
        padding: 1.5rem;
    }

    /* Responsive adjustments for property gallery mosaic */
    .autonaba-property-gallery-mosaic {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        min-height: auto;
        gap: 8px;
        /* Reduced from 10px to 8px */
    }

    .autonaba-gallery-main {
        grid-column: 1;
        grid-row: 1;
        min-height: 200px;
        /* Reduced from 250px to 200px */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .autonaba-gallery-thumbnails {
        grid-column: 1;
        grid-row: 2;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 6px;
        /* Reduced from 8px to 6px */
    }

    .autonaba-gallery-thumb {
        border-radius: 4px;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }
}

/* Property Single Page */
.autonaba-property-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.autonaba-property-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.autonaba-property-details {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

#property-map {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.autonaba-property-map {
    margin-bottom: 2rem;
}

.autonaba-property-info {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
}

.autonaba-property-meta-list {
    list-style: none;
    padding: 0;
}

.autonaba-property-meta-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
}

.autonaba-property-meta-list li:last-child {
    border-bottom: none;
}

/* Agent Fee Section */
.autonaba-agent-fee-section {
    margin: 2rem 0;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #ffffff;
}

.autonaba-agent-fee-section h2 {
    margin-top: 0;
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 600;
}

.autonaba-agent-fee-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.25rem;
    margin-top: 1rem;
}

.autonaba-agent-fee-item {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
    border-bottom: 1px solid #e2e8f0;
    gap: 0.25rem;
}

.autonaba-agent-fee-item:last-child {
    border-bottom: none;
}

.autonaba-agent-fee-item .detail-label {
    font-weight: 500;
    color: #64748b;
    flex: 0 0 auto;
}

.autonaba-agent-fee-item .detail-value {
    font-weight: 600;
    color: #1e293b;
    text-align: right;
    white-space: nowrap;
    flex: 0 0 auto;
}

.autonaba-contact-form {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.autonaba-contact-form h3 {
    margin-top: 0;
    font-weight: 600;
    color: #0f172a;
}

.autonaba-form-group {
    margin-bottom: 1rem;
}

.autonaba-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #0f172a;
}

.autonaba-form-group input,
.autonaba-form-group textarea,
.autonaba-form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.autonaba-form-group input:focus,
.autonaba-form-group textarea:focus,
.autonaba-form-group select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.autonaba-submit-button {
    background-color: #3b82f6;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.autonaba-submit-button:hover {
    background-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
    .autonaba-property-details {
        grid-template-columns: 1fr;
    }

    .autonaba-property-gallery {
        grid-template-columns: 1fr 1fr;
    }
}

/* Responsive Design for Property Meta */
@media (max-width: 768px) {
    .autonaba-property-meta {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.75rem;
    }

    .autonaba-meta-group {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .autonaba-meta-group span {
        display: flex;
        align-items: center;
        gap: 0.2rem;
    }

    .autonaba-location-container,
    .autonaba-date-container,
    .autonaba-like-container,
    .autonaba-view-container {
        display: flex;
        align-items: center;
        gap: 0.2rem;
    }

    .autonaba-like-icon,
    .autonaba-view-container i {
        font-size: 0.75rem;
    }

    .autonaba-like-count,
    .autonaba-view-container span {
        font-size: 0.75rem;
    }

    /* Stack items on very small screens */
    @media (max-width: 480px) {
        .autonaba-meta-group {
            flex-wrap: wrap;
        }

        .autonaba-meta-group span {
            gap: 0.25rem;
        }

        /* Further adjustments for package subscription cards on very small screens */
        #package-subscription .package-card-grid {
            gap: 10px;
        }

        #package-subscription .package-card {
            padding: 12px;
        }

        #package-subscription .package-card h3 {
            font-size: 1.1rem;
        }

        #package-subscription .package-price {
            font-size: 1.5rem;
        }

        #package-subscription .package-features li {
            padding: 4px 0;
            font-size: 0.8rem;
        }

        #package-subscription .payment-button {
            padding: 6px;
            font-size: 0.85rem;
        }

        #package-subscription .mobile-money-options {
            padding: 8px;
        }

        #package-subscription .mobile-money-options input {
            padding: 5px;
            font-size: 0.8rem;
        }

        #package-subscription .mobile-money-options button {
            padding: 6px;
            font-size: 0.85rem;
        }
    }
}

/* Chat Section Styles */
.autonaba-chat-section {
    margin: 2rem 0;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #f8fafc;
}

.autonaba-chat-section h3 {
    margin-top: 0;
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 600;
}

.autonaba-chat-form {
    margin-top: 1rem;
}

.autonaba-chat-form .autonaba-form-group {
    margin-bottom: 1rem;
}

.autonaba-chat-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #334155;
}

.autonaba-chat-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    transition: border-color 0.2s ease;
}

.autonaba-chat-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.autonaba-btn-primary {
    background-color: #3b82f6;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.autonaba-btn-primary:hover {
    background-color: #2563eb;
}

.autonaba-btn-primary:disabled {
    background-color: #94a3b8;
    cursor: not-allowed;
}

.autonaba-chat-message-result {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 6px;
    font-weight: 500;
}

.autonaba-chat-message-result.success {
    background-color: #10b981;
    color: white;
}

.autonaba-chat-message-result.error {
    background-color: #ef4444;
    color: white;
}

/* Chat Container Styles */
.autonaba-chat-container {
    margin: 2rem 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.autonaba-chat-header {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom: 1px solid #e2e8f0;
}

.autonaba-chat-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.autonaba-chat-content {
    display: flex;
    height: 500px;
}

/* Conversations List */
.autonaba-conversations-list {
    width: 35%;
    border-right: 1px solid #e2e8f0;
    background-color: #f8fafc;
    overflow-y: auto;
}

.autonaba-conversations-list h4 {
    padding: 1rem 1rem 0.5rem;
    margin: 0;
    font-size: 1rem;
    color: #334155;
    border-bottom: 1px solid #e2e8f0;
}

.autonaba-conversations-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.autonaba-conversation-item {
    border-bottom: 1px solid #e2e8f0;
}

.autonaba-conversation-item a {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease;
}

.autonaba-conversation-item a:hover,
.autonaba-conversation-item.active a {
    background-color: #e0e7ff;
}

.autonaba-conversation-info {
    flex: 1;
}

.autonaba-conversation-user {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.autonaba-conversation-property {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.autonaba-conversation-last-message {
    font-size: 0.875rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.autonaba-conversation-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.autonaba-conversation-time {
    font-size: 0.75rem;
    color: #94a3b8;
}

.autonaba-unread-count {
    background-color: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.autonaba-no-conversations {
    padding: 1rem;
    text-align: center;
    color: #94a3b8;
    font-style: italic;
}

/* Chat Messages Area */
.autonaba-chat-messages-area {
    width: 65%;
    display: flex;
    flex-direction: column;
}

.autonaba-chat-header-bar {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    background-color: #f1f5f9;
}

.autonaba-chat-header-bar h4 {
    margin: 0;
    font-size: 1.125rem;
    color: #1e293b;
}

.autonaba-chat-header-bar h4 small {
    display: block;
    font-size: 0.875rem;
    font-weight: normal;
    color: #64748b;
    margin-top: 0.25rem;
}

.autonaba-chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    background-color: #f8fafc;
}

.autonaba-message {
    margin-bottom: 1rem;
    max-width: 80%;
}

.autonaba-message.sent {
    margin-left: auto;
}

.autonaba-message.received {
    margin-right: auto;
}

.autonaba-message-content {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    word-wrap: break-word;
}

.autonaba-message.sent .autonaba-message-content {
    background-color: #3b82f6;
    color: white;
    border-bottom-right-radius: 4px;
}

.autonaba-message.received .autonaba-message-content {
    background-color: #e2e8f0;
    color: #1e293b;
    border-bottom-left-radius: 4px;
}

.autonaba-message-time {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.25rem;
    text-align: right;
}

.autonaba-message.sent .autonaba-message-time {
    text-align: right;
}

.autonaba-message.received .autonaba-message-time {
    text-align: left;
}

.autonaba-no-messages {
    text-align: center;
    color: #94a3b8;
    font-style: italic;
    margin-top: 2rem;
}

.autonaba-chat-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #94a3b8;
}

.autonaba-chat-input {
    padding: 1rem;
    border-top: 1px solid #e2e8f0;
    background-color: white;
}

.autonaba-chat-form {
    display: flex;
    gap: 0.5rem;
}

.autonaba-chat-form textarea {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    resize: none;
    min-height: 60px;
    transition: border-color 0.2s ease;
}

.autonaba-chat-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.autonaba-chat-form button {
    align-self: flex-end;
    padding: 0.75rem 1.5rem;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.autonaba-chat-form button:hover {
    background-color: #2563eb;
}

.autonaba-chat-form button:disabled {
    background-color: #94a3b8;
    cursor: not-allowed;
}

/* Responsive styles for chat */
@media (max-width: 768px) {
    .autonaba-chat-content {
        flex-direction: column;
        height: auto;
    }

    .autonaba-conversations-list,
    .autonaba-chat-messages-area {
        width: 100%;
    }

    .autonaba-conversations-list {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        max-height: 300px;
    }

    .autonaba-message {
        max-width: 90%;
    }

    /* Improve touch targets for chat interface */
    .autonaba-conversation-item a {
        padding: 1.25rem 1rem;
    }

    .autonaba-message-content {
        padding: 1rem 1.25rem;
        border-radius: 18px;
    }

    .autonaba-chat-form textarea {
        min-height: 50px;
        padding: 1rem;
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    .autonaba-chat-form button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: 8px;
    }

    /* Improve chat header for mobile */
    .autonaba-chat-header-bar {
        padding: 1.25rem;
    }

    .autonaba-chat-header-bar h4 {
        font-size: 1.25rem;
    }
}

/* Agent Profile */
.autonaba-agent-profile {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.autonaba-agent-avatar {
    flex: 0 0 200px;
}

.autonaba-agent-avatar img {
    width: 100%;
    border-radius: 8px;
}

.autonaba-agent-info {
    flex: 1;
}

.autonaba-agent-properties {
    margin-top: 2rem;
}

/* Dashboard */
.autonaba-dashboard {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 2rem;
}

.autonaba-dashboard-nav {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
}

.autonaba-dashboard-content {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .whatsapp-unavailable {
        font-size: 12px;
        padding: 6px 10px;
        margin-left: 5px;
    }
}

/* Login/Register Form */
.autonaba-login-register {
    max-width: 500px;
    margin: 2rem auto;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.autonaba-tabs .nav-tabs {
    border-bottom: 1px solid #e2e8f0;
}

.autonaba-tabs .nav-tabs .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    color: #64748b;
    font-weight: 500;
}

.autonaba-tabs .nav-tabs .nav-link.active {
    color: #3b82f6;
    background-color: #fff;
    border-color: #e2e8f0 #e2e8f0 #fff;
}

.autonaba-tabs .tab-content {
    padding: 1.5rem 0;
}

/* Property Submission Form */
.autonaba-property-form {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Compare Properties */
.autonaba-compare-table {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.autonaba-compare-image {
    max-width: 150px;
    margin: 0 auto;
}

.autonaba-compare-image img {
    border-radius: 8px;
}

/* Favorites */
.autonaba-favorites .property-card {
    margin-bottom: 2rem;
}

/* Authentication Pages */
.autonaba-auth-container {
    max-width: 500px;
    margin: 2rem auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.autonaba-auth-header {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c42 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.autonaba-auth-logo {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.autonaba-auth-header h1 {
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    font-size: 1.75rem;
}

.autonaba-auth-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
}

.autonaba-auth-content {
    padding: 2rem;
}

.autonaba-auth-icon {
    font-size: 3rem;
    color: #ff6b00;
    margin-bottom: 1rem;
}

.autonaba-tab-nav {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 2rem;
}

.autonaba-tab-button {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.autonaba-tab-button.active {
    color: #ff6b00;
}

.autonaba-tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: #ff6b00;
}

.autonaba-tab-button:hover {
    color: #ff6b00;
}

.autonaba-tab-content {
    min-height: 300px;
}

.autonaba-tab-pane {
    display: none;
}

.autonaba-tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.autonaba-form-group {
    margin-bottom: 1.5rem;
}

.autonaba-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #0f172a;
}

.autonaba-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.autonaba-input-icon {
    position: absolute;
    left: 1rem;
    color: #ff6b00;
    z-index: 2;
}

.autonaba-form-control {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
}

.autonaba-form-control:focus {
    border-color: #ff6b00;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
    outline: none;
}

.autonaba-form-control::placeholder {
    color: #94a3b8;
}

.autonaba-form-checkbox {
    display: flex;
    align-items: center;
}

.autonaba-form-check-input {
    margin-right: 0.5rem;
    width: 1rem;
    height: 1rem;
}

.autonaba-form-check-label {
    font-weight: 400;
    color: #64748b;
}

.autonaba-btn {
    display: inline-block;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.autonaba-btn-block {
    width: 100%;
    display: block;
}

.autonaba-btn-primary {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c42 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);
}

.autonaba-btn-primary:hover {
    background: linear-gradient(135deg, #e55e00 0%, #ff7d2e 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 0, 0.3);
}

.autonaba-btn-outline {
    background: transparent;
    border: 2px solid #e2e8f0;
    color: #0f172a;
}

.autonaba-btn-outline:hover {
    border-color: #ff6b00;
    color: #ff6b00;
}

.autonaba-form-footer {
    text-align: center;
    margin: 1.5rem 0;
}

.autonaba-form-link {
    color: #ff6b00;
    text-decoration: none;
    font-weight: 500;
}

.autonaba-form-link:hover {
    text-decoration: underline;
}

.autonaba-divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    color: #64748b;
}

.autonaba-divider::before,
.autonaba-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.autonaba-divider span {
    padding: 0 1rem;
}

.autonaba-oauth-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.autonaba-oauth-buttons .autonaba-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.autonaba-oauth-buttons .autonaba-btn i {
    margin-right: 0.5rem;
}

.autonaba-logged-in h2 {
    margin: 1rem 0;
    color: #0f172a;
}

.autonaba-logged-in p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

/* Responsive Design for Authentication Pages */
@media (max-width: 768px) {
    .autonaba-auth-container {
        margin: 1rem;
        border-radius: 8px;
    }

    .autonaba-auth-header {
        padding: 1.5rem;
    }

    .autonaba-auth-header h1 {
        font-size: 1.5rem;
    }

    .autonaba-auth-content {
        padding: 1.5rem;
    }

    .autonaba-tab-nav {
        flex-direction: column;
    }

    .autonaba-tab-button {
        text-align: center;
        border-bottom: 1px solid #e2e8f0;
    }

    .autonaba-tab-button:last-child {
        border-bottom: none;
    }

    .autonaba-tab-button.active::after {
        bottom: auto;
        top: 0;
        left: 0;
        right: auto;
        width: 3px;
        height: 100%;
    }

    .autonaba-oauth-buttons {
        flex-direction: column;
    }

    .autonaba-form-control {
        padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    }

    .autonaba-input-icon {
        left: 0.75rem;
    }
}

/* Listivo-Style Authentication Pages */
.listivo-auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 100px);
    padding: 2rem 1rem;
    background: #f8f9fa;
}

.listivo-auth-container {
    width: 100%;
    max-width: 450px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eef2f7;
}

.listivo-auth-container:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.listivo-auth-header {
    text-align: center;
    padding: 2.5rem 2rem 1.5rem;
    background: #ffffff;
    color: #0f172a;
}

.listivo-auth-logo {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ff6b00;
}

.listivo-auth-header h1 {
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    font-size: 1.75rem;
    letter-spacing: -0.5px;
    color: #0f172a;
}

.listivo-auth-header p {
    margin: 0;
    color: #64748b;
    font-size: 1rem;
    font-weight: 400;
}

.listivo-auth-content {
    padding: 1rem 2rem 2rem;
}

.listivo-tab-nav {
    display: flex;
    border-bottom: 2px solid #eef2f7;
    margin-bottom: 2rem;
    background: transparent;
}

.listivo-tab-button {
    flex: 1;
    padding: 1rem;
    background: transparent;
    border: none;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1rem;
}

.listivo-tab-button.active {}

/* Grid and List View Styles */
body.autonaba-grid-view .autonaba-ad-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

body.autonaba-grid-view .autonaba-ad-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

body.autonaba-grid-view .autonaba-ad-description {
    flex: 1;
}

body.autonaba-grid-view .autonaba-ad-stats {
    margin-top: auto;
}

/* List View Styles */
body.autonaba-list-view .row>div {
    flex: 0 0 100%;
    max-width: 100%;
}

body.autonaba-list-view .autonaba-ad-card {
    display: flex;
    flex-direction: row;
    height: auto;
    min-height: 200px;
}

body.autonaba-list-view .autonaba-ad-image {
    flex: 0 0 300px;
    height: auto;
    min-height: 200px;
}

body.autonaba-list-view .autonaba-ad-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

body.autonaba-list-view .autonaba-ad-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

body.autonaba-list-view .autonaba-ad-price {
    font-size: 1.75rem;
    margin: 0.5rem 0;
}

body.autonaba-list-view .autonaba-ad-description {
    flex: 1;
    margin: 0.5rem 0;
}

body.autonaba-list-view .autonaba-ad-stats {
    margin-top: auto;
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
}

/* Responsive adjustments for list view */
@media (max-width: 768px) {
    body.autonaba-list-view .autonaba-ad-card {
        flex-direction: column;
    }

    body.autonaba-list-view .autonaba-ad-image {
        flex: 0 0 auto;
        height: 200px;
    }
}

.listivo-tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: #ff6b00;
    border-radius: 3px 3px 0 0;
}

.listivo-tab-button:hover:not(.active) {
    color: #ff6b00;
}

.listivo-tab-content {
    min-height: 350px;
}

.listivo-tab-pane {
    display: none;
}

.listivo-tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.listivo-form-group {
    margin-bottom: 1.5rem;
}

.listivo-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.listivo-input-icon {
    position: absolute;
    left: 1rem;
    color: #94a3b8;
    z-index: 2;
    font-size: 1rem;
}

.listivo-form-control {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    background: #ffffff;
    color: #0f172a;
}

.listivo-form-control:focus {
    border-color: #ff6b00;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
    outline: none;
}

.listivo-form-control::placeholder {
    color: #94a3b8;
}

.listivo-form-checkbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.listivo-checkbox-wrapper {
    display: flex;
    align-items: center;
}

.listivo-form-check-input {
    margin-right: 0.75rem;
    width: 1.1rem;
    height: 1.1rem;
    accent-color: #ff6b00;
    cursor: pointer;
    border-radius: 3px;
}

.listivo-form-check-label {
    font-weight: 400;
    color: #64748b;
    cursor: pointer;
    font-size: 0.95rem;
}

.listivo-form-link {
    color: #ff6b00;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.listivo-form-link:hover {
    text-decoration: underline;
}

.listivo-btn {
    display: inline-block;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.listivo-btn-block {
    width: 100%;
    display: block;
}

.listivo-btn-primary {
    background: #ff6b00;
    color: white;
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.2);
}

.listivo-btn-primary:hover {
    background: #e55e00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.25);
}

.listivo-btn-outline {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #0f172a;
}

.listivo-btn-outline:hover {
    border-color: #ff6b00;
    color: #ff6b00;
    background: rgba(255, 107, 0, 0.03);
}

.listivo-btn-google {
    background: #ffffff;
    color: #DB4437;
    border: 1px solid #e2e8f0;
}

.listivo-btn-google:hover {
    background: #f8f9fa;
    border-color: #DB4437;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(219, 68, 55, 0.1);
}

.listivo-btn-facebook {
    background: #ffffff;
    color: #4267B2;
    border: 1px solid #e2e8f0;
}

.listivo-btn-facebook:hover {
    background: #f8f9fa;
    border-color: #4267B2;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(66, 103, 178, 0.1);
}

.listivo-btn-apple {
    background: #ffffff;
    color: #000000;
    border: 1px solid #e2e8f0;
}

.listivo-btn-apple:hover {
    background: #f8f9fa;
    border-color: #000000;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.listivo-divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.listivo-divider::before,
.listivo-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.listivo-divider span {
    padding: 0 1rem;
}

.listivo-oauth-section {
    margin: 1.5rem 0;
}

.listivo-oauth-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.listivo-oauth-buttons .listivo-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem;
    font-size: 1.1rem;
}

.listivo-auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eef2f7;
}

.listivo-auth-footer p {
    color: #64748b;
    margin: 0;
    font-size: 0.95rem;
}

.listivo-auth-footer a {
    color: #ff6b00;
    text-decoration: none;
    font-weight: 600;
}

.listivo-auth-footer a:hover {
    text-decoration: underline;
}

.listivo-logged-in h2 {
    margin: 1rem 0;
    color: #0f172a;
}

.listivo-logged-in p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

/* Responsive Design for Listivo Authentication Pages */
@media (max-width: 768px) {
    .listivo-auth-wrapper {
        padding: 1rem;
        min-height: auto;
    }

    .listivo-auth-container {
        border-radius: 10px;
    }

    .listivo-auth-header {
        padding: 2rem 1.5rem 1.5rem;
    }

    .listivo-auth-header h1 {
        font-size: 1.5rem;
    }

    .listivo-auth-content {
        padding: 1rem 1.5rem 1.5rem;
    }

    .listivo-tab-nav {
        flex-direction: row;
    }

    .listivo-tab-button {
        text-align: center;
        margin-bottom: 0;
    }

    .listivo-oauth-buttons {
        flex-direction: row;
    }

    .listivo-form-control {
        padding: 0.875rem 0.875rem 0.875rem 2.75rem;
    }

    .listivo-input-icon {
        left: 0.875rem;
    }

    .listivo-form-checkbox {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }

    .listivo-divider {
        margin: 1.5rem 0;
    }
}

/* Property Gallery Container */
.autonaba-property-gallery-container {
    position: relative;
    margin-bottom: 2rem;
}

/* Facebook-like Property Gallery Carousel */
.autonaba-property-gallery-facebook {
    display: none;
    /* Hidden by default, shown on mobile */
}

.autonaba-facebook-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.autonaba-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.autonaba-carousel-wrapper {
    display: flex;
    transition: transform 0.3s ease;
    height: 300px;
}

.autonaba-carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.autonaba-carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Carousel Navigation */
.autonaba-carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.autonaba-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.autonaba-carousel-dot.active {
    background-color: #fff;
}

.autonaba-carousel-prev,
.autonaba-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}

/* Profile Picture and Status Indicator for Chat */
.autonaba-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.autonaba-chat-username {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-right: 10px;
}

.autonaba-conversation-avatar {
    position: relative;
    flex-shrink: 0;
}

.autonaba-conversation-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.autonaba-user-status {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    bottom: 0;
    right: 0;
}

.autonaba-user-status.online {
    background-color: #4ade80;
}

.autonaba-user-status.offline {
    background-color: #94a3b8;
}

.autonaba-carousel-prev:hover,
.autonaba-carousel-next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.autonaba-carousel-prev {
    left: 15px;
    display: none !important;
}

.autonaba-carousel-next {
    right: 15px;
    display: none !important;
}

.autonaba-carousel-prev i,
.autonaba-carousel-next i {
    font-size: 18px;
}

.autonaba-carousel-counter {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 10;
}

/* Property Gallery Mosaic */
.autonaba-property-gallery-mosaic {
    display: grid;
    grid-template-columns: 55% 42%;
    grid-template-rows: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 2rem;
    min-height: 300px;
    height: 300px;
    grid-template-areas:
        "main thumb1"
        "main thumb2"
        "main thumb3"
        "main thumb4";
}

.autonaba-gallery-main {
    grid-column: 1;
    grid-row: 1 / span 4;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    min-height: 300px;
    height: 300px;
    width: 100%;
}

.autonaba-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
}

.autonaba-gallery-main img:not([src]) {
    opacity: 1 !important;
    background-color: #f8f9fa;
    display: block !important;
}

.autonaba-gallery-main img:hover {
    transform: scale(1.02);
}

.autonaba-gallery-main img.loading {
    opacity: 0.7;
}

.autonaba-gallery-main img.error {
    opacity: 0.5;
}

.autonaba-gallery-main img.error::after {
    content: "Image not available";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #6c757d;
    font-size: 1rem;
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
}

.autonaba-gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(2, 100px);
    grid-template-rows: repeat(2, 100px);
    gap: 8px;
    grid-column: 2;
    grid-row: 1 / span 4;
    min-width: 0;
    height: 208px;
}

.autonaba-gallery-thumb {
    overflow: hidden;
    border-radius: 4px;
    background-color: #f8f9fa;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100px;
    width: 100px;
    min-height: 100px;
    min-width: 100px;
    aspect-ratio: 1 / 1;
}

.autonaba-gallery-thumb:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.autonaba-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.autonaba-gallery-thumb.active {
    border: 2px solid #ff6b00;
    opacity: 1;
}

.autonaba-gallery-thumb-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.autonaba-gallery-more-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.autonaba-gallery-more-indicator span {
    background-color: #ff6b00;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
    z-index: 11;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Gallery Modal */
.autonaba-gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.autonaba-gallery-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.autonaba-gallery-modal-main {
    position: relative;
}

.autonaba-gallery-modal-close {
    position: absolute;
    top: 15px;
}

/* Resubscription Modal Specific Styles */
.resubscribe-modal-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    min-height: 60vh;
    padding: 20px;
}

.resubscribe-modal-content {
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.resubscribe-modal-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #3498db;
    font-size: 1.5rem;
    display: none;
}

.resubscribe-modal-error {
    color: #e74c3c;
    font-size: 1rem;
    text-align: center;
    margin-top: 10px;
}

.resubscribe-modal-success {
    color: #2ecc71;
    font-size: 1rem;
    text-align: center;
    margin-top: 10px;
}

.resubscribe-modal-button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    width: 100%;
    max-width: 200px;
    margin-top: 20px;
}

.resubscribe-modal-button:hover {
    background-color: #2980b9;
}

.resubscribe-modal-button:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

.autonaba-gallery-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    background-color: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.autonaba-gallery-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.autonaba-gallery-modal-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    min-height: 60vh;
}

.autonaba-gallery-modal-main img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.autonaba-gallery-modal-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
    display: none;
}

.autonaba-gallery-modal-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    max-height: 120px;
    overflow-x: auto;
    background-color: #f8f9fa;
}

.autonaba-gallery-modal-thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
}

.autonaba-gallery-modal-thumb.active {
    border-color: #ff6b00;
}

.autonaba-gallery-modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Property Content and Details */
.autonaba-property-content {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.autonaba-property-content h2 {
    margin-top: 0;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.75rem;
}

/* Horizontal Property Details - Clean List Style */
.autonaba-property-details-horizontal {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.autonaba-property-details-horizontal h2 {
    margin-top: 0;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.autonaba-property-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.25rem;
    row-gap: 0;
    margin-top: 0;
    padding-right: 1.25rem;
}

.autonaba-detail-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    gap: 0.25rem;
    padding: 0.875rem 0;
    background: transparent;
    border-top: none;
}

/* Remove top border for the first row (first two items) */
.autonaba-detail-item:nth-child(-n+2) {
    border-top: none;
}

.detail-label {
    font-weight: 500;
    color: #64748b;
    font-size: 0.9375rem;
    margin-bottom: 0;
    display: block;
}

.detail-value {
    font-size: 0.9375rem;
    color: #0f172a;
    font-weight: 600;
    text-align: left;
    justify-self: start;
}

/* Responsive: stack to single column on small screens */
@media (max-width: 768px) {
    .autonaba-property-details-grid {
        grid-template-columns: 1fr;
        column-gap: 0.5rem;
        padding-right: 0.75rem;
    }

    .autonaba-detail-item {
        grid-template-columns: 1fr;
        gap: 0.25rem;
        padding: 0.75rem 0;
    }

    .detail-label {
        font-size: 0.875rem;
        min-width: 0;
        word-wrap: break-word;
        margin-bottom: 0.25rem;
        font-weight: 600;
    }

    .detail-value {
        font-size: 0.875rem;
        min-width: 0;
        word-wrap: break-word;
    }
}

/* Only the very first item should have no top border when stacked */
.autonaba-detail-item:nth-child(1) {
    border-top: none;
}

.detail-value.price {
    font-weight: 700;
    color: #ff6b00;
    font-size: 1.25rem;
}

/* Phone Icon - Modern Rectangular Design */
.rounded-phone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 45px;
    background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    vertical-align: middle;
    line-height: 45px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(255, 107, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.rounded-phone-icon:before {
    display: inline-block;
    line-height: 45px;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
    vertical-align: middle;
}

.rounded-phone-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.4s ease;
}

.rounded-phone-icon:hover {
    background: linear-gradient(135deg, #e55e00 0%, #ff6b00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 0, 0.35);
}

.rounded-phone-icon:hover::after {
    left: 100%;
}

.rounded-phone-icon:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.25);
}

.autonaba-phone-link {
    text-decoration: none;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.autonaba-phone-link:hover {
    transform: scale(1.02);
}

.detail-value .rounded-phone-icon {
    margin: 10px 0 5px 0;
}

/* WhatsApp Icon - Modern Rectangular Design */
.rounded-whatsapp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 45px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    padding: 0;
    margin: 0 0 0 10px;
    vertical-align: middle;
    line-height: 45px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.2);
    position: relative;
    overflow: hidden;
}

.rounded-whatsapp-icon:before {
    display: inline-block;
    line-height: 45px;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
    vertical-align: middle;
}

.rounded-whatsapp-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.4s ease;
}

.rounded-whatsapp-icon:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.rounded-whatsapp-icon:hover::after {
    left: 100%;
}

.rounded-whatsapp-icon:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
}

.autonaba-whatsapp-link {
    text-decoration: none;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.autonaba-whatsapp-link:hover {
    transform: scale(1.02);
}

.whatsapp-unavailable {
    display: inline-block;
    padding: 8px 12px;
    background-color: #f0f0f0;
    color: #666;
    border-radius: 6px;
    font-size: 14px;
    margin-left: 10px;
    vertical-align: middle;
}

/* Property Features */
.autonaba-property-features {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.autonaba-property-features h2 {
    margin-top: 0;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.75rem;
}

.autonaba-features-list {
    line-height: 1.8;
}

/* Contact and Agent Information Section */
.autonaba-contact-agent-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.autonaba-contact-agent-section h2 {
    margin-top: 0;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.75rem;
}

.autonaba-contact-agent-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.autonaba-agent-info,
.autonaba-contact-info {
    display: flex;
    flex-direction: column;
}

.autonaba-agent-info .detail-label,
.autonaba-contact-info .detail-label {
    font-weight: 600;
    color: #64748b;
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.autonaba-agent-info .detail-value,
.autonaba-contact-info .detail-value {
    font-size: 1rem;
    color: #0f172a;
    font-weight: 600;
}

/* Responsive: stack to single column on small screens */
@media (max-width: 768px) {
    .autonaba-contact-agent-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Section Spacing */
.autonaba-property-video,
.autonaba-property-map,
.autonaba-recently-viewed,
.autonaba-related-properties {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Property Map Card Styling */
.autonaba-property-map {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.autonaba-property-map h2 {
    margin-top: 0;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.75rem;
}

#property-map {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Responsive Design */
@media (max-width: 768px) {
    .autonaba-search-form {
        padding: 1.5rem;
    }

    /* Reduce size of service cards in How Autonaba Works section */
    .services-section .service-card {
        padding: 1rem;
        margin-bottom: 0.5rem;
    }

    .services-section .service-icon {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        min-height: 40px;
    }

    .services-section .service-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .services-section .service-card p {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }

    .autonaba-search-form .row>div {
        margin-bottom: 0.75rem;
    }

    .autonaba-search-form .form-label {
        margin-bottom: 0.25rem;
        margin-top: 0.25rem;
    }

    /* Reduce spacing between specific fields on mobile */
    .autonaba-search-form .mb-3 {
        margin-bottom: 0.25rem !important;
    }

    /* Even tighter spacing for the search button */
    .autonaba-search-form .d-grid {
        margin-top: 0.1rem !important;
    }

    .autonaba-property-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Add margin to ad cards on mobile for better spacing */
    .autonaba-ad-card {
        margin-bottom: 1rem;
    }

    .autonaba-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .autonaba-hero-search {
        padding: 3rem 0;
    }

    .autonaba-notification {
        right: 10px;
        left: 10px;
    }

    .autonaba-about-page,
    .autonaba-contact-page {
        padding: 1.5rem;
    }

    /* Show Facebook carousel on mobile, hide mosaic */
    .autonaba-property-gallery-facebook {
        display: block;
    }

    .autonaba-property-gallery-mosaic {
        display: none;
    }

    /* Responsive adjustments for property gallery mosaic */
    .autonaba-property-gallery-mosaic {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        min-height: auto;
        gap: 8px;
    }

    .autonaba-gallery-main {
        grid-column: 1;
        grid-row: 1;
        min-height: 200px;
        height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .autonaba-gallery-thumbnails {
        grid-column: 1;
        grid-row: 2;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 6px;
        height: auto;
        justify-content: center;
    }

    .autonaba-gallery-thumb {
        border-radius: 4px;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    /* Adjustments for Facebook carousel on mobile */
    .autonaba-carousel-wrapper {
        height: 250px;
    }

    .autonaba-carousel-counter {
        top: 10px;
        right: 10px;
        padding: 3px 8px;
        font-size: 12px;
    }

    .autonaba-carousel-prev,
    .autonaba-carousel-next {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        font-size: 20px;
        transition: all 0.3s ease;
        margin: 0 10px;
        /* Add margin for better touch spacing */
    }

    .autonaba-carousel-prev:hover,
    .autonaba-carousel-next:hover {
        background-color: rgba(0, 0, 0, 0.8);
        transform: scale(1.1);
    }

    .autonaba-carousel-prev i,
    .autonaba-carousel-next i {
        font-size: 20px;
    }

    /* Property details grid on mobile */
    .autonaba-property-details-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .autonaba-detail-item {
        padding: 0.75rem 0;
    }

    .detail-label {
        font-size: 0.875rem;
        font-weight: 600;
        margin-bottom: 0.25rem;
    }

    .detail-value {
        font-size: 0.875rem;
    }

    /* Video wrapper on mobile */
    .autonaba-video-wrapper:not(.autonaba-shorts-video) {
        padding-bottom: 56.25%;
        /* 16:9 aspect ratio for landscape videos */
    }

    /* YouTube Shorts on mobile - portrait layout */
    .autonaba-shorts-video {
        padding-bottom: 133.33%;
        /* Reduced height - 3:4 aspect ratio */
        max-width: 100%;
    }

    /* Smaller video on mobile */
    .autonaba-property-video {
        max-width: 100%;
        padding: 1rem;
    }

    /* Even smaller video on mobile */
    @media (max-width: 480px) {
        .autonaba-property-video {
            max-width: 100%;
            padding: 0.5rem;
        }

        .autonaba-video-wrapper:not(.autonaba-shorts-video) {
            padding-bottom: 56.25%;
            /* 16:9 aspect ratio */
        }

        .autonaba-shorts-video {
            padding-bottom: 133.33%;
            /* Maintain 3:4 aspect ratio for Shorts */
        }
    }

    /* Improve touch targets for form elements */
    .autonaba-form-control,
    .autonaba-form-select {
        min-height: 44px;
        /* Minimum touch target size */
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    /* Improve button touch targets */
    .autonaba-btn,
    .btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Improve dashboard card touch experience */
    .dashboard-card {
        transition: all 0.2s ease;
        /* Faster transition for mobile */
    }

    .dashboard-card:hover {
        transform: translateY(-2px) scale(1.01);
        /* Subtle hover effect */
    }

    /* Improve property card touch experience */
    .property-card {
        transition: all 0.2s ease;
        /* Faster transition for mobile */
    }

    .property-card:hover {
        transform: translateY(-2px);
        /* Subtle hover effect */
    }
}

@media (min-width: 769px) {

    /* Hide Facebook carousel on desktop, show mosaic */
    .autonaba-property-gallery-facebook {
        display: none;
    }

    .autonaba-property-gallery-mosaic {
        display: grid;
        height: 300px;
    }
}

/* Additional mobile-specific improvements */
@media (max-width: 576px) {

    /* Further adjustments for very small screens */
    .autonaba-category-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .autonaba-property-content,
    .autonaba-property-details-horizontal,
    .autonaba-property-features,
    .autonaba-contact-agent-section,
    .autonaba-property-video,
    .autonaba-property-map,
    .autonaba-recently-viewed,
    .autonaba-related-properties {
        padding: 1rem;
    }

    .autonaba-property-content h2,
    .autonaba-property-details-horizontal h2,
    .autonaba-property-features h2,
    .autonaba-contact-agent-section h2,
    .autonaba-property-video h2,
    .autonaba-property-map h2,
    .autonaba-recently-viewed h2,
    .autonaba-related-properties h2 {
        font-size: 1.25rem;
        padding-bottom: 0.5rem;
    }

    /* Improve touch targets for interactive elements */
    .autonaba-favorite-container,
    .autonaba-like-container {
        padding: 0.5rem;
        min-height: 44px;
        min-width: 44px;
    }

    /* Adjust property meta information for small screens */
    .autonaba-property-meta {
        font-size: 0.75rem;
    }

    .autonaba-location-container,
    .autonaba-date-container,
    .autonaba-like-container,
    .autonaba-view-container {
        margin-right: 0.75rem;
    }
}

/* Section Spacing */
.autonaba-property-video,
.autonaba-property-map,
.autonaba-recently-viewed,
.autonaba-related-properties {
    margin: 2rem 0;
    /* Same as chat section */
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Virtual Tour Specific Styling */
.autonaba-property-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.autonaba-virtual-tour-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border: 1px solid #f5c6cb;
    border-radius: 0.375rem;
    text-align: center;
}

.autonaba-virtual-tour-error p {
    margin: 0;
    font-weight: 500;
}

.autonaba-virtual-tour-fallback {
    text-align: center;
    padding: 1rem;
}

.autonaba-virtual-tour-fallback p {
    margin-bottom: 1rem;
    color: #64748b;
}

.autonaba-virtual-tour-fallback .autonaba-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: background-color 0.2s;
}

.autonaba-virtual-tour-fallback .autonaba-btn:hover {
    background-color: #2563eb;
}

.autonaba-property-video h2,
.autonaba-property-map h2,
.autonaba-recently-viewed h2,
.autonaba-related-properties h2 {
    margin-top: 0;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.75rem;
}

.autonaba-property-video {
    max-width: 600px;
    /* Reduced from 800px to 600px */
    margin-left: 20px;
    margin-right: auto;
    padding: 0;
    /* Remove extra padding to match chat section */
}

.autonaba-video-wrapper {
    position: relative;
    padding-bottom: 50%;
    /* Slightly reduced from 56.25% for a more compact 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    max-width: 100%;
    /* Ensure it doesn't exceed container */
    margin: 0;
    /* Align with send message button */
}

.autonaba-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.autonaba-video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* YouTube Shorts - Portrait Layout (3:4 aspect ratio) */
.autonaba-shorts-video {
    padding-bottom: 133.33%;
    /* Reduced height - 3:4 aspect ratio instead of 9:16 */
    max-width: 300px;
    /* Limit width for Shorts */
    margin: 0 auto;
    /* Center the Shorts video */
}

/* Regular YouTube Videos - Landscape Layout (16:9 aspect ratio) */
.autonaba-video-wrapper:not(.autonaba-shorts-video) {
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio for landscape */
}

/* Mobile responsiveness for Shorts */
@media (max-width: 768px) {
    .autonaba-shorts-video {
        max-width: 100%;
        padding-bottom: 133.33%;
        /* Maintain 3:4 aspect ratio */
    }

    .autonaba-video-wrapper:not(.autonaba-shorts-video) {
        padding-bottom: 56.25%;
        /* 16:9 aspect ratio */
    }
}

/* Sidebar Card */
.card {
    margin-bottom: 1.5rem;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card-header {
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 8px 8px 0 0 !important;
    padding: 1rem 1.25rem;
}

.card-header h3 {
    margin: 0;
    font-size: 1.125rem;
    color: #0f172a;
}

.card-body {
    padding: 1.25rem;
}

/* Property Filter Card - Compact Version */
.autonaba-filter-card {
    margin-bottom: 1rem;
    border: none;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    font-size: 0.875rem;
}

.autonaba-filter-card .card-header {
    padding: 0.75rem 1rem;
    background-color: #f1f5f9;
}

.autonaba-filter-card .card-header h3 {
    font-size: 1rem;
    margin: 0;
}

.autonaba-filter-card .card-body {
    padding: 1rem;
}

.autonaba-filter-card .form-label {
    font-size: 0.8125rem;
    margin-bottom: 0.25rem;
}

.autonaba-filter-card .form-control,
.autonaba-filter-card .form-select {
    font-size: 0.8125rem;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
}

.autonaba-filter-card .btn {
    font-size: 0.8125rem;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
}

.autonaba-filter-card .mb-3 {
    margin-bottom: 0.75rem !important;
}

.autonaba-filter-card .d-grid .btn {
    margin-bottom: 0.5rem !important;
}

.autonaba-seller-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

/* Star Rating Styles */
.autonaba-star-rating {
    display: flex;
    align-items: center;
    margin: 1rem 0;
}

.autonaba-stars {
    display: inline-flex;
    direction: rtl;
    unicode-bidi: bidi-override;
}

.autonaba-stars input {
    display: none;
}

.autonaba-stars label {
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease;
}

.autonaba-stars label:before {
    content: '\2605';
}

.autonaba-stars input:checked~label,
.autonaba-stars input:checked~label:hover,
.autonaba-stars input:checked~label:hover~label,
.autonaba-stars label:hover,
.autonaba-stars label:hover~label {
    color: #f59e0b;
}

.autonaba-rating-display {
    margin-left: 1rem;
    font-weight: 600;
    color: #0f172a;
}

.autonaba-rating-count {
    font-size: 0.875rem;
    color: #64748b;
    margin-left: 0.5rem;
}

.autonaba-rating-form {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.autonaba-rating-form h3 {
    margin-top: 0;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.75rem;
}

.autonaba-form-group {
    margin-bottom: 1rem;
}

.autonaba-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #0f172a;
}

.autonaba-form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.autonaba-form-control:focus {
    border-color: #ff6b00;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
    outline: none;
}

.autonaba-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #ff6b00;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.autonaba-btn:hover {
    background-color: #e55e00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.autonaba-btn:disabled {
    background-color: #cbd5e1;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.autonaba-rating-message {
    margin: 1rem 0;
    padding: 0.75rem;
    border-radius: 8px;
}

.autonaba-rating-message.success {
    background-color: #10b981;
    color: white;
}

.autonaba-rating-message.error {
    background-color: #ef4444;
    color: white;
}

.autonaba-chat-message-result.error {
    background-color: #ef4444;
    color: white;
}

/* Property Status Badges for Recently Viewed and Related Properties */
.autonaba-ad-status {
    margin: 0.5rem 0;
}

.autonaba-ad-status .status-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* Status badge colors - matching the main property page */
.autonaba-ad-status .status-badge.status-for-sale {
    background-color: #10b981;
    color: white;
}

.autonaba-ad-status .status-badge.status-for-rent {
    background-color: #3b82f6;
    color: white;
}

.autonaba-ad-status .status-badge.status-sold {
    background-color: #ef4444;
    color: white;
}

.autonaba-ad-status .status-badge.status-rented {
    background-color: #8b5cf6;
    color: white;
}

.autonaba-ad-status .status-badge.status-pending {
    background-color: #f59e0b;
    color: white;
}

.autonaba-ad-status .status-badge.status-coming-soon {
    background-color: #64748b;
    color: white;
}

.autonaba-chat-container {
    margin-top: 2rem;
    padding: 1rem;
    border-radius: 8px;
    background-color: #f9fafb;
}

.autonaba-chat-container .autonaba-chat-messages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.autonaba-chat-container .autonaba-chat-message {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 8px;
    background-color: #e5e7eb;
}

.autonaba-chat-container .autonaba-chat-message.user {
    justify-content: flex-end;
}

.autonaba-chat-container .autonaba-chat-message.user .autonaba-chat-message-content {
    background-color: #10b981;
    color: white;
}

.autonaba-chat-container .autonaba-chat-message.user .autonaba-chat-message-result {
    background-color: #10b981;
    color: white;
}

.autonaba-chat-container .autonaba-chat-message.user .autonaba-chat-message-result.error {
    background-color: #ef4444;
    color: white;
}

.autonaba-chat-container .autonaba-chat-message.user .autonaba-chat-message-result.success {
    background-color: #10b981;
    color: white;
}

.autonaba-chat-container .autonaba-chat-message.bot {
    justify-content: flex-start;
}

.autonaba-chat-container .autonaba-chat-message.bot .autonaba-chat-message-content {
    background-color: #f9fafb;
    color: #1e293b;
}

.autonaba-chat-container .autonaba-chat-message.bot .autonaba-chat-message-result {
    background-color: #f9fafb;
    color: #1e293b;
}

.autonaba-chat-container .autonaba-chat-message.bot .autonaba-chat-message-result.error {
    background-color: #ef4444;
    color: white;
}

.autonaba-chat-container .autonaba-chat-message.bot .autonaba-chat-message-result.success {
    background-color: #10b981;
    color: white;
}

.autonaba-chat-container .autonaba-chat-input {
    display: flex;
}

.autonaba-chat-container .autonaba-chat-input input {
    flex: 1;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background-color: #f9fafb;
    color: #1e293b;
}

.autonaba-chat-container .autonaba-chat-input input:focus {
    border-color: #10b981;
    outline: none;
}

.autonaba-chat-container .autonaba-chat-input input::placeholder {
    color: #9ca3af;
}

.autonaba-chat-container .autonaba-chat-input button {
    padding: 0.75rem;
    border-radius: 8px;
    background-color: #10b981;
    color: white;
    cursor: pointer;
}

.autonaba-chat-container .autonaba-chat-input button:hover {
    background-color: #14b8a6;
}

.autonaba-chat-container .autonaba-chat-input button:disabled {
    background-color: #cbd5e1;
    cursor: not-allowed;
}

.autonaba-ad-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Property Status Badges */
.autonaba-ad-status,
.autonaba-property-status {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.autonaba-property-details-grid .autonaba-detail-item .status-badge {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    text-transform: none;
    letter-spacing: normal;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rental-period-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    background-color: #64748b;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.status-for-sale,
.status-badge.status-sale {
    background-color: #10b981;
    color: white;
}

.status-badge.status-for-rent,
.status-badge.status-rent {
    background-color: #3b82f6;
    color: white;
}

.status-badge.status-sold,
.status-badge.status-under-contract {
    background-color: #ef4444;
    color: white;
}

.status-badge.status-pending {
    background-color: #f59e0b;
    color: white;
}

.status-badge.status-coming-soon {
    background-color: #8b5cf6;
    color: white;
}

.status-badge.status-available {
    background-color: #10b981;
    color: white;
}

.status-badge.status-rented {
    background-color: #ef4444;
    color: white;
}

/* Property Like Styles */
.autonaba-like-container {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    user-select: none;
    /* Prevent text selection on click */
    position: relative;
    z-index: 10;
    /* Ensure it's above other elements */
    background: transparent;
    border: none;
}

.autonaba-like-container:hover {
    background: transparent;
    transform: scale(1.1);
}

.autonaba-like-icon {
    color: #64748b;
    transition: color 0.2s ease;
    font-size: 1rem;
    opacity: 0.7;
}

.autonaba-like-container:hover .autonaba-like-icon {
    color: #ef4444;
}

.autonaba-like-icon.fa-heart {
    color: #ef4444;
    opacity: 1;
}

.autonaba-like-icon.far.fa-heart {
    color: #64748b;
    opacity: 0.7;
}

.autonaba-like-count {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

/* Product Seller Info - Responsive Display */
.autonaba-seller-info-mobile {
    margin-top: 2rem;
}

@media (max-width: 991px) {
    .autonaba-seller-info-mobile {
        margin-top: 2rem;
    }

    .autonaba-seller-info-desktop {
        display: none;
    }
}

@media (min-width: 992px) {
    .autonaba-seller-info-mobile {
        display: none;
    }

    .autonaba-seller-info-desktop {
        display: block;
    }
}

/* Product Seller Info - Responsive Display */
.autonaba-seller-info-mobile {
    margin-top: 2rem;
}

@media (max-width: 991px) {
    .autonaba-seller-info-mobile {
        margin-top: 2rem;
    }

    .autonaba-seller-info-desktop {
        display: none;
    }
}

@media (min-width: 992px) {
    .autonaba-seller-info-mobile {
        display: none;
    }

    .autonaba-seller-info-desktop {
        display: block;
    }
}

/* Property View Styles */
.autonaba-view-container {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    transition: all 0.2s ease;
    user-select: none;
    /* Prevent text selection on click */
    position: relative;
    z-index: 10;
    /* Ensure it's above other elements */
    background: transparent;
    border: none;
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.autonaba-view-container:hover {
    transform: scale(1.1);
}

/* Make the like container more prominent on single property page */
.entry-header .autonaba-like-container {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.3s ease;
    user-select: none;
    /* Prevent text selection on click */
    position: relative;
    z-index: 10;
    /* Ensure it's above other elements */
    padding: 0;
    background: transparent;
    border: none;
}

.entry-header .autonaba-like-container:hover {
    transform: scale(1.1);
}

.entry-header .autonaba-like-icon {
    font-size: 1rem;
    color: #64748b;
    opacity: 0.7;
}

.entry-header .autonaba-like-container:hover .autonaba-like-icon {
    color: #ef4444;
}

.entry-header .autonaba-like-icon.fa-heart {
    color: #ef4444;
    opacity: 1;
}

.entry-header .autonaba-like-icon.far.fa-heart {
    color: #64748b;
    opacity: 0.7;
}

.entry-header .autonaba-like-count {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
}

/* Facebook-like styling for like button */
.autonaba-like-container.facebook-style {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.3s ease;
    user-select: none;
    /* Prevent text selection on click */
    position: relative;
    z-index: 10;
    /* Ensure it's above other elements */
    padding: 0;
    background: transparent;
    border: none;
}

.autonaba-like-container.facebook-style:hover {
    transform: scale(1.1);
}

.autonaba-like-container.facebook-style .autonaba-like-icon {
    font-size: 1rem;
    color: #64748b;
    opacity: 0.7;
}

.autonaba-like-container.facebook-style:hover .autonaba-like-icon {
    color: #ef4444;
}

.autonaba-like-container.facebook-style .autonaba-like-icon.fa-heart {
    color: #ef4444;
    opacity: 1;
}

.autonaba-like-container.facebook-style .autonaba-like-icon.far.fa-heart {
    color: #64748b;
    opacity: 0.7;
}

.autonaba-like-container.facebook-style .autonaba-like-count {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
}

/* Like animation */
.like-animation {
    animation: like-pulse 0.3s ease;
}

@keyframes like-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Property Price and Status on same line */
.autonaba-property-price-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.5rem 0;
}

.autonaba-property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff6b00;
    margin: 0;
}

.autonaba-property-status {
    margin: 0;
}

.autonaba-property-status .status-badge {
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
}

.autonaba-property-agent-fee {
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.autonaba-property-agent-fee .agent-fee-label {
    font-weight: 500;
}

.autonaba-property-agent-fee .agent-fee-value {
    color: #ff6b00;
    font-weight: 700;
}

/* Chat Container Styles */
.autonaba-chat-container {
    margin: 2rem 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.autonaba-chat-header {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom: 1px solid #e2e8f0;
}

.autonaba-chat-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.autonaba-chat-content {
    display: flex;
    height: 500px;
}

/* Conversations List */
.autonaba-conversations-list {
    width: 35%;
    border-right: 1px solid #e2e8f0;
    background-color: #f8fafc;
    overflow-y: auto;
}

.autonaba-conversations-list h4 {
    padding: 1rem 1rem 0.5rem;
    margin: 0;
    font-size: 1rem;
    color: #334155;
    border-bottom: 1px solid #e2e8f0;
}

.autonaba-conversations-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.autonaba-conversation-item {
    border-bottom: 1px solid #e2e8f0;
}

.autonaba-conversation-item a {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease;
}

.autonaba-conversation-item a:hover,
.autonaba-conversation-item.active a {
    background-color: #e0e7ff;
}

.autonaba-conversation-info {
    flex: 1;
}

.autonaba-conversation-user {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.autonaba-conversation-property {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.autonaba-conversation-last-message {
    font-size: 0.875rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.autonaba-conversation-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.autonaba-conversation-time {
    font-size: 0.75rem;
    color: #94a3b8;
}

.autonaba-unread-count {
    background-color: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.autonaba-no-conversations {
    padding: 1rem;
    text-align: center;
    color: #94a3b8;
    font-style: italic;
}

/* Chat Messages Area */
.autonaba-chat-messages-area {
    width: 65%;
    display: flex;
    flex-direction: column;
}

.autonaba-chat-header-bar {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    background-color: #f1f5f9;
}

.autonaba-chat-header-bar h4 {
    margin: 0;
    font-size: 1.125rem;
    color: #1e293b;
}

.autonaba-chat-header-bar h4 small {
    display: block;
    font-size: 0.875rem;
    font-weight: normal;
    color: #64748b;
    margin-top: 0.25rem;
}

.autonaba-chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    background-color: #f8fafc;
}

.autonaba-message {
    margin-bottom: 1rem;
    max-width: 80%;
}

.autonaba-message.sent {
    margin-left: auto;
}

.autonaba-message.received {
    margin-right: auto;
}

.autonaba-message-content {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    word-wrap: break-word;
}

.autonaba-message.sent .autonaba-message-content {
    background-color: #3b82f6;
    color: white;
    border-bottom-right-radius: 4px;
}

.autonaba-message.received .autonaba-message-content {
    background-color: #e2e8f0;
    color: #1e293b;
    border-bottom-left-radius: 4px;
}

.autonaba-message-time {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.25rem;
    text-align: right;
}

.autonaba-message.sent .autonaba-message-time {
    text-align: right;
}

.autonaba-message.received .autonaba-message-time {
    text-align: left;
}

.autonaba-no-messages {
    text-align: center;
    color: #94a3b8;
    font-style: italic;
    margin-top: 2rem;
}

.autonaba-chat-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #94a3b8;
}

.autonaba-chat-input {
    padding: 1rem;
    border-top: 1px solid #e2e8f0;
    background-color: white;
}

.autonaba-chat-form {
    display: flex;
    gap: 0.5rem;
}

.autonaba-chat-form textarea {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    resize: none;
    min-height: 60px;
    transition: border-color 0.2s ease;
}

.autonaba-chat-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.autonaba-chat-form button {
    align-self: flex-end;
    padding: 0.75rem 1.5rem;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.autonaba-chat-form button:hover {
    background-color: #2563eb;
}

.autonaba-chat-form button:disabled {
    background-color: #94a3b8;
    cursor: not-allowed;
}

/* Responsive styles for chat */
@media (max-width: 768px) {
    .autonaba-chat-content {
        flex-direction: column;
        height: auto;
    }

    .autonaba-conversations-list,
    .autonaba-chat-messages-area {
        width: 100%;
    }

    .autonaba-conversations-list {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        max-height: 300px;
    }

    .autonaba-message {
        max-width: 90%;
    }

    /* Improve touch targets for chat interface */
    .autonaba-conversation-item a {
        padding: 1.25rem 1rem;
    }

    .autonaba-message-content {
        padding: 1rem 1.25rem;
        border-radius: 18px;
    }

    .autonaba-chat-form textarea {
        min-height: 50px;
        padding: 1rem;
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    .autonaba-chat-form button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: 8px;
    }

    /* Improve chat header for mobile */
    .autonaba-chat-header-bar {
        padding: 1.25rem;
    }

    .autonaba-chat-header-bar h4 {
        font-size: 1.25rem;
    }
}

/* Property Meta Information */
.autonaba-property-meta {
    margin: 0.5rem 0 1rem 0;
    font-size: 0.875rem;
    color: #64748b;
}

.autonaba-location-container,
.autonaba-date-container,
.autonaba-like-container,
.autonaba-view-container {
    display: inline-block;
    margin-right: 1rem;
}

.autonaba-like-container,
.autonaba-view-container {
    cursor: pointer;
}

.autonaba-like-container:hover .autonaba-like-icon {
    color: #ef4444;
}

.autonaba-like-icon {
    font-size: 0.875rem;
    color: #64748b;
    transition: color 0.2s ease;
}

.autonaba-like-icon.fa-heart {
    color: #ef4444;
}

.autonaba-like-count,
.autonaba-view-container span {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
}

/* Grid and List View Styles */
body.autonaba-grid-view .autonaba-ad-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

body.autonaba-grid-view .autonaba-ad-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

body.autonaba-grid-view .autonaba-ad-description {
    flex: 1;
}

body.autonaba-grid-view .autonaba-ad-stats {
    margin-top: auto;
}

/* List View Styles */
body.autonaba-list-view .row>div {
    flex: 0 0 100%;
    max-width: 100%;
}

body.autonaba-list-view .autonaba-ad-card {
    display: flex;
    flex-direction: row;
    height: auto;
    min-height: 200px;
}

body.autonaba-list-view .autonaba-ad-image {
    flex: 0 0 300px;
    height: auto;
    min-height: 200px;
}

body.autonaba-list-view .autonaba-ad-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

body.autonaba-list-view .autonaba-ad-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

body.autonaba-list-view .autonaba-ad-price {
    font-size: 1.75rem;
    margin: 0.5rem 0;
}

body.autonaba-list-view .autonaba-ad-description {
    flex: 1;
    margin: 0.5rem 0;
}

body.autonaba-list-view .autonaba-ad-stats {
    margin-top: auto;
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
}

/* Responsive adjustments for list view */
@media (max-width: 768px) {
    body.autonaba-list-view .autonaba-ad-card {
        flex-direction: column;
    }

    body.autonaba-list-view .autonaba-ad-image {
        flex: 0 0 auto;
        height: 200px;
    }
}

/* Responsive Design for Property Meta */
@media (max-width: 768px) {
    .autonaba-property-meta {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.75rem;
    }

    .autonaba-meta-group {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .autonaba-meta-group span {
        display: flex;
        align-items: center;
        gap: 0.2rem;
    }

    .autonaba-location-container,
    .autonaba-date-container,
    .autonaba-like-container,
    .autonaba-view-container {
        display: flex;
        align-items: center;
    }

    .autonaba-contact-info .detail-value {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .rounded-whatsapp-icon {
        width: 100px;
        height: 40px;
        line-height: 40px;
        font-size: 16px;
    }

    .rounded-phone-icon {
        width: 100px;
        height: 40px;
        line-height: 40px;
        font-size: 16px;
    }

    .autonaba-like-icon,
    .autonaba-view-container i {
        font-size: 0.75rem;
    }

    .autonaba-like-count,
    .autonaba-view-container span {
        font-size: 0.75rem;
    }

    .autonaba-contact-info .detail-value {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .whatsapp-unavailable {
        font-size: 12px;
        padding: 6px 10px;
        margin-left: 5px;
    }

    /* Reduce Send button size on mobile */
    .autonaba-chat-form .autonaba-btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    /* Stack items on very small screens */
    @media (max-width: 480px) {
        .autonaba-meta-group {
            flex-wrap: wrap;
        }

        .autonaba-meta-group span {
            gap: 0.25rem;
        }
    }
}

/* Property Comments Section */
.autonaba-property-comments {
    margin: 2rem 0;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.autonaba-property-comments h2 {
    margin-top: 0;
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 600;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.75rem;
}

.autonaba-comments-list {
    margin: 1.5rem 0;
}

.autonaba-comment {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1rem;
}

.autonaba-comment:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.autonaba-comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.autonaba-comment-header strong {
    color: #1e293b;
    font-weight: 600;
}

.autonaba-comment-date {
    color: #64748b;
    font-size: 0.875rem;
}

.autonaba-comment-content {
    color: #334155;
    line-height: 1.6;
}

.autonaba-no-comments {
    text-align: center;
    color: #94a3b8;
    font-style: italic;
    padding: 2rem;
}

.autonaba-add-comment h3 {
    margin-top: 0;
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 600;
}

.autonaba-comment-form {
    margin-top: 1rem;
}

.autonaba-comment-form .autonaba-form-group {
    margin-bottom: 1rem;
}

.autonaba-comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    transition: border-color 0.2s ease;
}

.autonaba-comment-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.autonaba-comment-form button {
    padding: 0.75rem 1.5rem;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.autonaba-comment-form button:hover {
    background-color: #2563eb;
}

.autonaba-comment-form button:disabled {
    background-color: #94a3b8;
    cursor: not-allowed;
}

.autonaba-comment-message-result {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 6px;
    font-weight: 500;
}

.autonaba-comment-message-result.success {
    background-color: #10b981;
    color: white;
}

.autonaba-comment-message-result.error {
    background-color: #ef4444;
    color: white;
}

/* Homepage Popup Styles */
.autonaba-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

.autonaba-popup-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 450px;
    width: 90%;
    overflow: hidden;
    animation: popupAppear 0.3s ease-out;
}

@keyframes popupAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.autonaba-popup-header {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c42 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.autonaba-popup-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.autonaba-popup-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.autonaba-popup-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.autonaba-popup-body {
    padding: 30px;
    text-align: center;
}

.autonaba-popup-body p {
    margin: 0 0 25px 0;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.5;
}

.autonaba-popup-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.autonaba-popup-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.autonaba-popup-btn-primary {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c42 100%);
    color: white;
}

.autonaba-popup-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.autonaba-popup-btn-secondary {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.autonaba-popup-btn-secondary:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

/* Prevent body scroll when popup is active */
body.autonaba-popup-active {
    overflow: hidden;
}