* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #2ecc71;
    --dark-green: #27ae60;
    --light-green: #a8e6cf;
    --black: #1a1a1a;
    --dark-gray: #2c3e50;
    --gray: #7f8c8d;
    --light-gray: #ecf0f1;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

    .nav-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    object-fit: cover;
    border: 2px solid #2ecc71;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--black);
    cursor: pointer;
}

.logo i {
    color: var(--primary-green);
    font-size: 1.8rem;
}

.logo-highlight {
    color: var(--primary-green);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-green);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-green);
}

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

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--black);
    border: 2px solid var(--black);
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--black);
    color: var(--white);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--black);
    padding: 0.5rem;
    z-index: 1001;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    color: var(--primary-green);
}

.menu-toggle.active {
    color: var(--primary-green);
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

.mobile-auth-buttons {
    display: none;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%232c3e50" width="1200" height="600"/><path fill="%232ecc71" opacity="0.3" d="M0,300 Q300,100 600,300 T1200,300 L1200,600 L0,600 Z"/></svg>');
    background-size: cover;
    background-position: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-search {
    display: flex;
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

.search-box {
    flex: 1;
    display: flex;
    align-items: center;
    background-color: var(--white);
    border-radius: 5px;
    padding: 0 1rem;
}

.search-box i {
    color: var(--gray);
    margin-right: 0.5rem;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 1rem 0;
    font-size: 1rem;
    color: var(--black);
}

.filter-section {
    background-color: var(--light-gray);
    padding: 2rem 0;
}

.filter-container {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--black);
}

.filter-group select {
    width: 100%;
    padding: 0.7rem;
    border: 2px solid var(--white);
    border-radius: 5px;
    font-size: 1rem;
    background-color: var(--white);
    color: var(--black);
    cursor: pointer;
    transition: var(--transition);
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary-green);
}

.btn-reset {
    background-color: var(--white);
    color: var(--black);
    border: 2px solid var(--gray);
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-reset:hover {
    background-color: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.properties-section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.property-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.property-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.property-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.save-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.save-icon:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

.save-icon.saved {
    background-color: var(--primary-green);
    color: var(--white);
}

.save-icon.saved i {
    font-weight: 900;
}

.property-content {
    padding: 1.5rem;
}

.property-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.property-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.property-location i {
    color: var(--primary-green);
}

.property-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.meta-item i {
    color: var(--primary-green);
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.no-results i {
    font-size: 4rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.no-results p {
    color: var(--gray);
}

.features-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--dark-green);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: var(--primary-green);
}

.footer-description {
    color: var(--light-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-green);
    transform: translateY(-3px);
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-green);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--light-gray);
}

.footer-contact i {
    color: var(--primary-green);
    margin-top: 0.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-gray);
}

.breadcrumb {
    background-color: var(--light-gray);
    padding: 1rem 0;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--black);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-green);
}

.breadcrumb i {
    color: var(--gray);
    font-size: 0.7rem;
}

.breadcrumb span {
    color: var(--gray);
}

.property-details-section {
    padding: 3rem 0;
}

.property-details-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.property-gallery {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.main-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.save-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.5rem;
}

.save-btn:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

.save-btn.saved {
    background-color: var(--primary-green);
    color: var(--white);
}

.save-btn.saved i {
    font-weight: 900;
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.thumbnail {
    width: 100%;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-green);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-header {
    margin-bottom: 2rem;
}

.property-title-section {
    margin-bottom: 1rem;
}

.property-category {
    display: inline-block;
    background-color: var(--light-green);
    color: var(--dark-green);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.property-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.property-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
}

.property-price-section .property-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

.property-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-green);
}

.feature-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    display: block;
}

.feature-label {
    font-size: 0.9rem;
    color: var(--gray);
}

.property-description,
.property-amenities {
    margin-bottom: 2rem;
}

.property-description h2,
.property-amenities h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.property-description p {
    color: var(--gray);
    line-height: 1.8;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--black);
}

.amenity-item i {
    color: var(--primary-green);
}

.property-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--light-gray);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
}

.detail-label {
    color: var(--gray);
    font-weight: 600;
}

.detail-value {
    color: var(--black);
    font-weight: 600;
}

.status-available {
    color: var(--primary-green);
}

.property-actions {
    display: flex;
    gap: 1rem;
}

.btn-large {
    flex: 1;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.similar-properties {
    margin-top: 3rem;
}

.similar-properties h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--black);
}

.auth-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.auth-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.auth-image {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><circle fill="rgba(255,255,255,0.1)" cx="100" cy="100" r="80"/><circle fill="rgba(255,255,255,0.05)" cx="300" cy="300" r="100"/></svg>');
    opacity: 0.3;
}

.auth-image-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    text-align: center;
}

.auth-image-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.auth-image-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.auth-form-container {
    padding: 3rem;
    display: flex;
    align-items: center;
}

.auth-form {
    width: 100%;
}

.auth-form h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.auth-subtitle {
    color: var(--gray);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--black);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--light-gray);
    border-radius: 5px;
    padding: 0 1rem;
    border: 2px solid transparent;
    transition: var(--transition);
}

.input-wrapper:focus-within {
    border-color: var(--primary-green);
    background-color: var(--white);
}

.input-wrapper i {
    color: var(--gray);
    margin-right: 0.5rem;
}

.input-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 0.8rem 0;
    font-size: 1rem;
    color: var(--black);
}

.toggle-password {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition);
}

.toggle-password:hover {
    color: var(--primary-green);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-container input {
    cursor: pointer;
}

.link-primary {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.link-primary:hover {
    color: var(--dark-green);
}

.btn-full {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

.divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background-color: var(--light-gray);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.divider span {
    background-color: var(--white);
    padding: 0 1rem;
    color: var(--gray);
}

.social-login {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    flex: 1;
    padding: 0.8rem;
    border: 2px solid var(--light-gray);
    background-color: var(--white);
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.social-btn:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.auth-switch {
    text-align: center;
    color: var(--gray);
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .nav-actions #authButtons {
        display: none;
    }
    
    .nav-menu.active ~ .nav-actions #authButtons {
        display: none;
    }
    
    .mobile-auth-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 0 2rem;
        margin-top: 1rem;
    }
    
    .mobile-auth-buttons .btn-primary,
    .mobile-auth-buttons .btn-secondary {
        width: 100%;
        padding: 0.8rem 1.5rem;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-search {
        flex-direction: column;
    }

    .properties-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .property-details-container {
        grid-template-columns: 1fr;
    }

    .property-gallery {
        position: static;
    }

    .property-features {
        grid-template-columns: 1fr;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .property-actions {
        flex-direction: column;
    }

    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-image {
        display: none;
    }

    .auth-form-container {
        padding: 2rem;
    }

    .filter-container {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 400px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .thumbnail-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .property-header h1 {
        font-size: 1.5rem;
    }

    .property-price-section .property-price {
        font-size: 2rem;
    }

    .social-login {
        flex-direction: column;
    }
}

.auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.auth-modal.active {
    display: flex;
}

.auth-modal-content {
    background-color: var(--white);
    border-radius: 15px;
    padding: 3rem;
    max-width: 450px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.auth-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.auth-modal-close:hover {
    background-color: var(--light-gray);
    color: var(--black);
}

.auth-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-modal-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.auth-modal-header p {
    color: var(--gray);
    font-size: 0.95rem;
}

.auth-modal-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--light-gray);
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 600;
    color: var(--gray);
    transition: var(--transition);
    font-size: 1rem;
}

.auth-tab.active {
    color: var(--primary-green);
    border-bottom-color: var(--primary-green);
}

.auth-tab:hover {
    color: var(--primary-green);
}

.auth-tab-content {
    display: none;
}

.auth-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.google-login-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    color: var(--black);
    margin-bottom: 1.5rem;
}

.google-login-btn:hover {
    border-color: var(--primary-green);
    background-color: var(--light-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.2);
}

.google-icon {
    width: 24px;
    height: 24px;
}

.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1px;
    background-color: var(--light-gray);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-divider span {
    background-color: var(--white);
    padding: 0 1rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.auth-modal-form .form-group {
    margin-bottom: 1.2rem;
}

.auth-modal-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.auth-modal-form input {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.auth-modal-form input:focus {
    outline: none;
    border-color: var(--primary-green);
}

.auth-modal-form .checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.auth-modal-form .checkbox-group input {
    width: auto;
    cursor: pointer;
}

.auth-modal-form .checkbox-group label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
    font-size: 0.9rem;
}

.auth-modal-form .forgot-password {
    text-align: right;
    margin-bottom: 1.5rem;
}

.auth-modal-form .forgot-password a {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.auth-modal-form .forgot-password a:hover {
    color: var(--dark-green);
}

.auth-modal-form .btn-full {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.auth-modal-form .btn-full:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.auth-modal-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.auth-modal-footer a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.auth-modal-footer a:hover {
    color: var(--dark-green);
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .property-details-grid {
        grid-template-columns: 1fr;
    }

    .btn-large {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }

    .auth-modal-content {
        padding: 2rem 1.5rem;
        width: 95%;
    }

    .auth-modal-header h2 {
        font-size: 1.5rem;
    }

    .auth-modal-tabs {
        gap: 0.5rem;
    }

    .auth-tab {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .google-login-btn {
        padding: 0.9rem;
        font-size: 0.95rem;
    }
}


/* Enhanced Mobile Menu Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block !important;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        text-align: left;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
        padding: 0;
        overflow-y: auto;
        z-index: 1000;
        gap: 0;
    }

    .nav-menu.active {
        right: 0 !important;
    }

    .nav-menu li {
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 2rem !important;
        border-bottom: 1px solid #f0f0f0;
        transition: all 0.3s ease;
        width: 100%;
    }

    .nav-menu a:hover {
        background: #f8f9fa;
        padding-left: 2.5rem !important;
    }

    .mobile-auth-buttons {
        display: flex !important;
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 2rem;
        border-top: 2px solid var(--light-gray);
    }

    .mobile-auth-buttons button {
        width: 100%;
    }

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

    .nav-actions #authButtons {
        display: none !important;
    }
}
