/* Login page styles - Full page modern design */
.back-to-home-bottom {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1050;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    padding: 12px 24px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.5s both;
}

.back-to-home-bottom:hover {
    color: white;
    background: rgba(0, 123, 255, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 123, 255, 0.4);
}

.login-fullpage {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    display: flex;
    position: relative;
    overflow: hidden;
}

.login-fullpage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.4;
    z-index: 1;
}

.login-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

.login-left-full {
    flex: 1;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.login-left-full::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.brand-content {
    text-align: center;
    max-width: 500px;
    position: relative;
    z-index: 1;
}

.brand-logo {
    font-size: 4rem;
    margin-bottom: 30px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
    animation: fadeInUp 1s ease-out;
}

.brand-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 30px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.brand-content .lead {
    font-size: 1.3rem;
    margin-bottom: 50px;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.features-list {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.features-list .feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
    animation: fadeInUp 0.8s ease-out both;
}

.features-list .feature-item:nth-child(2) { animation-delay: 0.7s; }
.features-list .feature-item:nth-child(3) { animation-delay: 0.8s; }
.features-list .feature-item:nth-child(4) { animation-delay: 0.9s; }

.features-list .feature-item i {
    margin-right: 15px;
    color: #fff;
    opacity: 0.9;
    font-size: 1.3rem;
}

.login-right-full {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
}

.form-content {
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 1;
}

.form-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2d3748;
    animation: slideInRight 1s ease-out;
}

.form-content > p {
    color: #718096;
    margin-bottom: 40px;
    animation: slideInRight 1s ease-out 0.1s both;
}

.btn-login {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.social-btn {
    border: 2px solid #e2e8f0;
    color: #4a5568;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    background: white;
}

.social-btn:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.divider {
    position: relative;
    text-align: center;
    margin: 35px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.divider span {
    background: white;
    padding: 0 20px;
    color: #a0aec0;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .login-left-full, .login-right-full {
        flex: none;
        min-height: 50vh;
        padding: 40px 20px;
    }

    .brand-logo {
        font-size: 3rem;
    }

    .brand-content h2 {
        font-size: 2.2rem;
    }

    .brand-content .lead {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .form-content h3 {
        font-size: 1.8rem;
    }

    .back-to-home-bottom {
        bottom: 20px;
        right: 20px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Forgot password specific styles - Enhanced */
.forgot-password-card {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.forgot-password-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.forgot-password-card .card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    max-width: 480px;
    width: 100%;
    position: relative;
    z-index: 1;
    animation: slideInUp 0.8s ease-out;
}

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

/* ===== SIDEBAR STYLES ===== */

/* Modern Sidebar */
.sidebar-modern {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 240px;
    z-index: 1000;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-modern::-webkit-scrollbar {
    width: 4px;
}

.sidebar-modern::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.sidebar-modern::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    transition: background 0.3s ease;
}

.sidebar-modern::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

.sidebar-content {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Brand Section */
.sidebar-brand {
    padding: 0.4rem 0.8rem 0.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.08) 100%);
    position: relative;
    overflow: hidden;
}

.sidebar-brand::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.brand-logo:hover {
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.5);
}

.brand-text {
    position: relative;
    z-index: 1;
}

.brand-text h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 0.1rem;
    font-size: 0.7rem;
    letter-spacing: 0.3px;
}

.brand-accent {
    color: #667eea;
    font-weight: 800;
}

.brand-text small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* Profile Section */
.sidebar-profile {
    padding: 0.5rem 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.profile-header {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-radius: 10px;
    padding: 0.5rem;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.6s ease;
}

.profile-header:hover::before {
    left: 100%;
}

.profile-header:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.profile-avatar {
    position: relative;
    margin-right: 0.8rem;
    flex-shrink: 0;
}

.avatar-image,
.avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.avatar-image {
    object-fit: cover;
}

.avatar-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    box-shadow: 0 3px 12px rgba(102, 126, 234, 0.3);
}

.avatar-status {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #28a745;
    border: 2px solid #1a1a2e;
    box-shadow: 0 1px 6px rgba(40, 167, 69, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.profile-info {
    flex: 1;
    min-width: 0;
}

.profile-name {
    color: white;
    font-weight: 600;
    margin-bottom: 0.1rem;
    font-size: 0.7rem;
    line-height: 1.2;
}

.profile-meta {
    margin-bottom: 0.2rem;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.3rem;
    border-radius: 12px;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    backdrop-filter: blur(10px);
}

.role-badge.admin {
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    color: #2d3748;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.role-badge.agent {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.profile-email {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.65rem;
    display: block;
    line-height: 1.3;
}

/* Navigation */
.sidebar-nav {
    flex: 1;
    padding: 0.5rem 0;
    overflow-y: auto;
}

.nav-section {
    margin-bottom: 0.8rem;
}

.nav-section:last-child {
    margin-bottom: 0;
}

.nav-section-title {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 0.8rem 0.5rem;
    margin-bottom: 0.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin: 0.05rem 0;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 18px 18px 0;
    margin-right: 0.3rem;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.6s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: white;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.1) 100%);
    transform: translateX(4px);
    box-shadow: 0 3px 12px rgba(102, 126, 234, 0.2);
    text-decoration: none;
}

.nav-link.active {
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 3px 15px rgba(102, 126, 234, 0.4);
    transform: translateX(6px);
}

.nav-link.active::before {
    display: none;
}

.nav-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    margin-right: 0.7rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.nav-link:hover .nav-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.nav-link.active .nav-icon {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.nav-text {
    font-weight: 500;
    font-size: 0.8rem;
    flex: 1;
}

.nav-indicator {
    width: 3px;
    height: 18px;
    background: white;
    border-radius: 2px;
    position: absolute;
    right: 0.8rem;
    box-shadow: 0 2px 6px rgba(255, 255, 255, 0.3);
}

/* Footer/Logout */
.sidebar-footer {
    padding: 0.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
    margin-top: auto;
}

.logout-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.6rem 0.8rem;
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.1) 0%, rgba(211, 47, 47, 0.08) 100%);
    border: 1px solid rgba(244, 67, 54, 0.2);
    border-radius: 12px;
    color: #ff8a80;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.logout-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(244, 67, 54, 0.1), transparent);
    transition: left 0.6s ease;
}

.logout-link:hover::before {
    left: 100%;
}

.logout-link:hover {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.2) 0%, rgba(211, 47, 47, 0.15) 100%);
    color: #ff5252;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(244, 67, 54, 0.3);
    text-decoration: none;
}

.logout-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(244, 67, 54, 0.2);
    margin-right: 0.7rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.logout-link:hover .logout-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.logout-text {
    font-weight: 500;
    font-size: 0.8rem;
}

/* Mobile Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
    backdrop-filter: blur(4px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar-modern {
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        width: 280px;
    }

    .sidebar-modern.show {
        transform: translateX(0);
    }

    .sidebar-overlay {
        display: block;
        z-index: 999;
    }

    .sidebar-modern.show + .sidebar-overlay {
        z-index: 999;
    }

    .main-content {
        margin-left: 0;
    }

    .nav-link {
        margin-right: 0;
        border-radius: 12px;
        margin: 0 1rem 0.25rem;
    }

    .nav-link:hover,
    .nav-link.active {
        transform: none;
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

@media (max-width: 576px) {
    .sidebar-modern {
        width: 240px;
    }

    .sidebar-brand {
        padding: 1.2rem 0.8rem 0.8rem;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .sidebar-profile {
        padding: 1rem 0.8rem;
    }

    .profile-header {
        padding: 0.7rem;
    }

    .profile-avatar .avatar-image,
    .profile-avatar .avatar-placeholder {
        width: 38px;
        height: 38px;
    }

    .nav-link {
        padding: 0.6rem 0.8rem;
        margin: 0 0.3rem 0.1rem;
        font-size: 0.8rem;
    }

    .nav-link:hover,
    .nav-link.active {
        margin-left: 0.3rem;
        margin-right: 0.3rem;
    }

    .nav-icon {
        width: 30px;
        height: 30px;
        margin-right: 0.7rem;
    }

    .sidebar-footer {
        padding: 0.8rem;
    }
}

/* Animation Classes */
.sidebar-enter {
    animation: slideInLeft 0.3s ease-out;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Legacy Sidebar Support */
.sidebar {
    background: linear-gradient(180deg, #343a40 0%, #495057 100%);
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    z-index: 1000;
    padding-top: 1rem;
}

.main-content {
    margin-left: 260px;
    padding: 1rem;
    background: #f8f9fa;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

@media (max-width: 768px) {
    .main-content {
        margin-left: 0;
    }
}

.sidebar .nav-link {
  color: rgba(255,255,255,0.85);
  padding: .75rem 1rem;
  margin: .25rem 0;
  border-radius: .375rem;
  display: block;
}
.sidebar .nav-link:hover,
.sidebar .nav-link.active { color: #fff; background: rgba(255,255,255,0.08); }

/* Card / dashboard utilities */
.dashboard-card, .report-card { border: none; border-radius: 15px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.stat-card { background: white; border-radius: 15px; padding: 1.5rem; box-shadow: 0 4px 6px rgba(0,0,0,0.1); text-align:center; height:100%; }
.stat-icon { width:60px; height:60px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 1rem; font-size:1.5rem; color:white; }
.stat-number{ font-size:2rem; font-weight:bold; margin:0; }
.chart-container { position:relative; height:400px; padding:1rem; }
.report-section, .stat-card, .report-card { background:white; }

/* Quick action / buttons */
.quick-action { display:flex; align-items:center; padding:1rem; background:white; border-radius:10px; text-decoration:none; color:inherit; transition:all .3s ease; box-shadow:0 2px 4px rgba(0,0,0,0.1); }
.quick-action:hover { transform:translateY(-2px); box-shadow:0 4px 8px rgba(0,0,0,0.15); }
.quick-action-icon { width:50px; height:50px; border-radius:10px; display:flex; align-items:center; justify-content:center; margin-right:1rem; font-size:1.25rem; color:white; }

/* Progress bars */
.progress-modern { height:10px; border-radius:10px; overflow:hidden; background:#e9ecef; }
.progress-bar-modern { border-radius:10px; transition: width .6s ease; }

/* Forms and info */
.info-section { background:white; border-radius:10px; padding:1.5rem; margin-bottom:1.5rem; box-shadow:0 2px 4px rgba(0,0,0,0.05); }
.info-label { font-weight:600; color:#495057; margin-bottom:.5rem; }
.info-value { color:#212529; font-size:1.1rem; }

/* Lead / timeline */
.timeline-item { border-left:3px solid #007bff; padding-left:1rem; margin-bottom:1rem; position:relative; }
.timeline-item::before { content:''; position:absolute; left:-7px; top:0; width:12px; height:12px; border-radius:50%; background:#007bff; }

/* Property images and thumbs */
.property-image { max-height:400px; object-fit:cover; width:100%; }
.property-thumb { cursor:pointer; border:2px solid transparent; transition:border-color .15s ease; border-radius:6px; }
.property-thumb.selected { border-color:#0d6efd; }

/* Status badge small */
.status-badge{ font-size:.9em; padding:.5em 1em; }

/* Minor UI tweaks used across pages */
.user-avatar { width:40px; height:40px; border-radius:50%; background:#007bff; display:flex; align-items:center; justify-content:center; color:white; font-weight:bold; }
img.user-avatar { display:block; width:40px; height:40px; border-radius:50%; object-fit:cover; }
.price-highlight { font-weight:600; color:#28a745; }

/* Responsive helpers */
@media (max-width: 992px) {
  .chart-container { height: 300px; }
}

/* Register page styles */
.register-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 1200px;
    margin: auto;
}

.register-left {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.register-right {
    padding: 3rem;
}

.register-left .brand-logo {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.register-left .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.register-left .feature-item i {
    margin-right: 0.5rem;
}

.form-floating input:focus,
.form-floating select:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
}

.btn-register {
    background: linear-gradient(45deg, #28a745, #20c997);
    border: none;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(40,167,69,0.3);
    background: linear-gradient(45deg, #218838, #1e7e34);
}

.strength-meter {
    height: 5px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 5px;
}

.strength-meter-fill {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.strength-weak { background: #dc3545; width: 25%; }
.strength-fair { background: #ffc107; width: 50%; }
.strength-good { background: #28a745; width: 75%; }
.strength-strong { background: #007bff; width: 100%; }

.required-field::after {
    content: " *";
    color: #dc3545;
}

.form-check-input:checked {
    background-color: #28a745;
    border-color: #28a745;
}

@media (max-width: 768px) {
    .register-left {
        padding: 2rem;
        min-height: 200px;
    }

    .register-right {
        padding: 2rem;
    }

    .register-left .brand-logo {
        font-size: 2rem;
    }
}

/* ===== PUBLIC PROPERTIES PAGE STYLES ===== */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hero-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23hero-pattern)"/></svg>');
    opacity: 0.6;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 0;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Filters Card */
.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.card-title i {
    color: #667eea;
    font-size: 1.1em;
}

/* Filter Form Enhancements */
.filter-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

/* Responsive Filter Adjustments */
@media (max-width: 992px) {
    .filter-section {
        padding: 0.5rem;
    }
}

@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }

    .filter-section {
        padding: 0.5rem;
    }

    .form-label {
        font-size: 0.8rem;
    }
}

/* Form Controls */
.form-label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.form-select,
.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.form-select:focus,
.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.form-select-sm,
.form-control-sm {
    padding: 0.375rem 0.5rem;
    font-size: 0.85rem;
    border-radius: 6px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.btn-outline-secondary {
    border: 2px solid #a0aec0;
    color: #4a5568;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-secondary:hover {
    background: #4a5568;
    border-color: #4a5568;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(74, 85, 104, 0.3);
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.85rem;
}

/* Property Cards */
.property-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    background: white;
    position: relative;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.property-media {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
}

.property-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card:hover .property-media img {
    transform: scale(1.05);
}

.badge-price {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    border: 2px solid rgba(255,255,255,0.2);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: #667eea;
}

.card-sub {
    color: #718096;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.card-sub::before {
    content: '📍';
    margin-right: 0.5rem;
}

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

.meta div {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #4a5568;
    font-weight: 500;
}

.meta i {
    margin-right: 0.5rem;
    color: #667eea;
    width: 16px;
}

.btn-outline-primary {
    border: 2px solid #667eea;
    color: #667eea;
    border-radius: 10px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* No Results Card */
.no-results {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 20px;
    margin: 2rem 0;
}

.no-results h4 {
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 0;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: white;
    margin-top: 4rem;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -10px 40px rgba(45, 55, 72, 0.3);
}

footer p {
    margin: 0;
    font-weight: 500;
}

/* Navbar Enhancement */
.navbar {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: white !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .col-lg-3 {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem 0;
        border-radius: 0 0 20px 20px;
    }

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

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

    .card-body {
        padding: 1.5rem;
    }

    .property-media {
        height: 180px;
    }

    .badge-price {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .col-md-1 {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .property-card {
        margin-bottom: 1.5rem;
    }

    .card-title {
        font-size: 1rem;
    }
}

/* Loading States */
.property-card-loading {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .property-card,
    .card,
    .btn-primary,
    .btn-outline-primary,
    .btn-outline-secondary {
        transition: none;
    }

    .property-card:hover,
    .card:hover {
        transform: none;
    }

    .property-media img {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .hero,
    .navbar,
    footer,
    .btn {
        display: none !important;
    }

    .property-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #dee2e6;
    }
}

/* ===== DASHBOARD PAGE STYLES ===== */

/* Hero Section for Dashboard */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hero-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23hero-pattern)"/></svg>');
    opacity: 0.6;
}

.hero .container-fluid {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 0;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero .badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 500;
}

.hero .btn-light {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    color: #2d3748;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero .btn-light:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.hero .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

/* Modern Statistics Cards */
.stat-card-modern {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.stat-card-modern:hover::before {
    opacity: 1;
}

.stat-icon-modern {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.stat-content {
    text-align: center;
}

.stat-number-modern {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Modern Quick Actions */
.quick-action-modern {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.quick-action-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s;
}

.quick-action-modern:hover::before {
    left: 100%;
}

.quick-action-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    color: inherit;
}

.quick-action-icon-modern {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-right: 1rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.quick-action-content h6 {
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

/* Modern Chart Containers */
.chart-container-modern {
    position: relative;
    height: 350px;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

/* Enhanced Cards */
.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.card-header {
    background: white;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    padding: 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

/* Enhanced Table */
.table th {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 700;
    color: #2d3748;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem;
}

.table td {
    vertical-align: middle;
    border: none;
    padding: 1rem;
}

.table tbody tr {
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    background: #f8f9fa;
}

.table .badge {
    font-weight: 600;
}

/* Alert Enhancements */
.alert {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 4px solid;
}

.alert-success {
    border-left-color: #28a745;
}

.alert-danger {
    border-left-color: #dc3545;
}

/* Responsive Adjustments for Dashboard */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 2.5rem 0;
    }

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

    .hero .row {
        text-align: center;
    }

    .hero .col-lg-4 {
        margin-top: 2rem;
    }

    .stat-card-modern {
        padding: 1.5rem;
    }

    .stat-number-modern {
        font-size: 2rem;
    }

    .quick-action-modern {
        padding: 1.25rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem 0;
        border-radius: 0 0 20px 20px;
    }

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

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

    .stat-card-modern {
        padding: 1.25rem;
        text-align: center;
    }

    .stat-icon-modern {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin: 0 auto 1rem;
    }

    .stat-number-modern {
        font-size: 1.8rem;
    }

    .quick-action-modern {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .quick-action-icon-modern {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .chart-container-modern {
        height: 280px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .hero .badge {
        font-size: 0.8rem;
    }

    .card-body {
        padding: 1.25rem;
    }

    .table-responsive {
        font-size: 0.9rem;
    }

    .table th,
    .table td {
        padding: 0.75rem 0.5rem;
    }
}

/* Hero Section for Property Details */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hero-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23hero-pattern)"/></svg>');
    opacity: 0.6;
}

.hero .container-fluid {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 0;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero .btn-light {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    color: #2d3748;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero .btn-light:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.hero .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

/* Property Gallery Enhancements */
.property-media {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    border-radius: 15px 15px 0 0;
}

.property-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card:hover .property-media img {
    transform: scale(1.05);
}

.badge-price {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    border: 2px solid rgba(255,255,255,0.2);
    z-index: 2;
}

/* Property Thumbnails */
#propertyThumbs {
    background: #f8f9fa;
    border-radius: 0 0 15px 15px;
}

.property-thumb {
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.property-thumb:hover {
    border-color: #667eea;
    transform: scale(1.05);
}

.property-thumb.selected {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.3);
}

/* Info Sections */
.info-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.info-section:hover {
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.info-label {
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.5;
}

/* Enhanced Leads Table */
.table th {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 700;
    color: #2d3748;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table td {
    vertical-align: middle;
    border: none;
}

.table tbody tr {
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    background: #f8f9fa;
}

/* Enhanced Sidebar Cards */
.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.card-header {
    background: white;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    padding: 1.25rem 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

/* Stat Cards */
.stat-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* Enhanced Buttons */
.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-warning {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    border: none;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #229954 0%, #1e8449 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
}

.btn-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    border: none;
}

.btn-info:hover {
    background: linear-gradient(135deg, #138496 0%, #117a8b 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(23, 162, 184, 0.3);
}

.btn-outline-danger {
    border: 2px solid #dc3545;
    color: #dc3545;
    background: transparent;
}

.btn-outline-danger:hover {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-color: #dc3545;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

/* No Results Enhancement */
.no-results {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 20px;
    margin: 2rem 0;
    transition: all 0.3s ease;
}

.no-results:hover {
    border-color: #667eea;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f2ff 100%);
}

/* Responsive Adjustments for Property View */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 2.5rem 0;
    }

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

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

    .col-lg-8, .col-lg-4 {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem 0;
        border-radius: 0 0 20px 20px;
    }

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

    .hero .d-flex {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .property-media {
        height: 300px;
    }

    .badge-price {
        font-size: 1rem;
        padding: 10px 16px;
    }

    .info-section {
        padding: 1.25rem;
    }

    .btn-lg {
        padding: 0.625rem 1.25rem;
        font-size: 0.95rem;
    }

    .stat-card {
        padding: 1.25rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .card-body {
        padding: 1.25rem;
    }

    .table-responsive {
        font-size: 0.9rem;
    }

    .btn-group {
        flex-direction: column;
        gap: 0.25rem;
    }

    .btn-group .btn {
        border-radius: 6px !important;
    }
}

/* Reports Page Styles */
.filters-card {
    border: 2px solid #667eea;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
    background: white;
}

.filters-card .card-body {
    padding: 2rem;
}

.report-section {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.progress-modern {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress-bar-modern {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.no-print {
    /* Hide elements when printing */
}

/* Main content layout */
.main-content {
    margin-left: 280px;
    padding: 1rem;
    background: #f8f9fa;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }

    .main-content {
        margin-left: 0 !important;
    }

    .report-section {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }

    .stat-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}
