/* ========================================
   LANDORO MAIN STYLESHEET
   ======================================== */

/* ========================================
   CSS VARIABLES & RESET
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #D4AF37;
    --deep-blue: #1C2C4C;
    --light-gold: #F4E9C1;
    --gray-100: #f8fafc;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-600: #64748b;
    --gray-700: #374151;
    --gray-800: #1e293b;
    --white: #ffffff;
    --success: #16a34a;
    --error: #dc2626;
    --warning: #f59e0b;
}

/* ========================================
   BASE STYLES
   ======================================== */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-100);
    margin: 0;
    padding-top: 70px; /* Account for fixed header */
}

/* ========================================
   NAVIGATION STYLES
   ======================================== */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--deep-blue);
    text-decoration: none;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link.active {
    color: var(--gold);
    font-weight: 600;
}

/* User Menu Styles */
.user-menu {
    position: relative;
    display: inline-block;
}

.user-menu-btn {
    background: var(--gold);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 1rem 0;
    display: none;
    z-index: 1001;
    margin-top: 0.5rem;
}

.user-dropdown.active {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--gray-800);
    text-decoration: none;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: var(--gray-100);
}

.dropdown-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 0.5rem 0;
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--deep-blue);
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mobile-nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    right: 0;
    width: 280px;
    max-width: 90vw;
    background: var(--white);
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    border-radius: 20px 0 0 20px;
    padding: 2rem 0;
    z-index: 1000;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-nav-menu.active {
    display: block;
    transform: translateX(0);
}

.mobile-nav-overlay.active {
    display: block;
}

.mobile-nav-item {
    display: block;
    padding: 1rem 2rem;
    color: var(--gray-800);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-nav-item:hover {
    background: var(--light-gold);
    color: var(--deep-blue);
}

.mobile-nav-item.active {
    color: var(--gold);
    font-weight: 600;
    background: var(--light-gold);
}

.mobile-nav-section {
    padding: 1rem 2rem;
    border-bottom: 2px solid var(--gray-200);
}

.mobile-nav-section h4 {
    color: var(--deep-blue);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.mobile-user-info {
    background: var(--light-gold);
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--gold);
}

.mobile-user-info h3 {
    color: var(--deep-blue);
    margin-bottom: 0.25rem;
}

.mobile-user-info p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Hide scrollbar on mobile menu */
.mobile-nav-menu::-webkit-scrollbar {
    width: 4px;
}

.mobile-nav-menu::-webkit-scrollbar-track {
    background: var(--gray-100);
}

.mobile-nav-menu::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 2px;
}

/* ========================================
   BUTTON STYLES
   ======================================== */
.btn-primary {
    background: var(--gold);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary:hover {
    background: #B8941F;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--gold);
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.btn-submit {
    background: var(--gold);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
}

.btn-submit:hover {
    background: #B8941F;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.btn-submit:disabled {
    background: var(--gray-600);
    cursor: not-allowed;
    transform: none;
}

/* ========================================
   LAYOUT COMPONENTS
   ======================================== */
main {
    margin-top: 0; /* Header already accounts for fixed navbar */
}

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

.content-section {
    padding: 6rem 0;
}

.section-title,
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2,
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 1rem;
}

.section-title p,
.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--deep-blue) 0%, #2A3F63 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    padding: 6rem 0;
    background: var(--gray-100);
}

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

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold) 0%, #E6C547 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 1rem;
}

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

/* ========================================
   VALUES SECTION
   ======================================== */
.values-section {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--gold);
}

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

.value-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--gold) 0%, #E6C547 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.value-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.how-it-works {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--deep-blue) 0%, #2A3F63 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.how-it-works::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="grid2" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid2)"/></svg>');
    opacity: 0.5;
}

.how-it-works .container {
    position: relative;
    z-index: 1;
}

.how-it-works .section-title h2,
.how-it-works .section-header h2 {
    color: var(--white);
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.how-it-works .section-title p,
.how-it-works .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.step p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

/* ========================================
   STORY SECTION
   ======================================== */
.story-section {
    background: var(--white);
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.story-content p {
    margin-bottom: 2rem;
}

.story-content p:last-child {
    margin-bottom: 0;
}

.highlight-text {
    background: linear-gradient(135deg, var(--light-gold) 0%, #F4E9C1 100%);
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--gold);
    margin: 3rem 0;
    font-style: italic;
    color: var(--deep-blue);
    font-weight: 500;
}

/* ========================================
   TEAM SECTION
   ======================================== */
.team-section {
    background: var(--white);
}

.team-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.professional-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light-gold);
    color: var(--deep-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    margin: 2rem auto;
    border: 2px solid var(--gold);
}

/* ========================================
   FUTURE SECTION
   ======================================== */
.future-section {
    background: linear-gradient(135deg, var(--deep-blue) 0%, #2A3F63 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.future-section::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="grid2" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid2)"/></svg>');
    opacity: 0.5;
}

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

.future-section .section-header h2 {
    color: var(--white);
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.future-section .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.future-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.future-content p {
    margin-bottom: 2rem;
}

.future-content p:last-child {
    margin-bottom: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold);
}

/* ========================================
   DASHBOARD PREVIEW
   ======================================== */
.dashboard-preview {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
}

.dashboard-mockup {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-200);
}

.mockup-dot:first-child {
    background: #ff5f56;
}

.mockup-dot:nth-child(2) {
    background: #ffbd2e;
}

.mockup-dot:nth-child(3) {
    background: #27ca3f;
}

.mockup-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.mockup-card {
    background: var(--gray-100);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--gold);
}

.mockup-card h4 {
    color: var(--deep-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.mockup-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--gold) 0%, #E6C547 100%);
    padding: 6rem 0;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    padding: 6rem 0;
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.contact-form {
    background: var(--gray-100);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    text-align: center;
    padding: 2rem;
    background: var(--gray-100);
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.contact-info-item h4 {
    color: var(--deep-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-info-item p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* ========================================
   FORM STYLES
   ======================================== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label,
.form-label {
    display: block;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea,
.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    margin: 2rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
}

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

.captcha-group {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--gold);
}

.captcha-group label {
    color: var(--deep-blue);
    font-weight: 600;
}

#mathQuestion {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.1rem;
}

.form-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    color: var(--gray-600);
}

.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gray-200);
    z-index: 1;
}

.form-divider span {
    background: var(--white);
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.form-switch {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.form-switch p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.form-switch a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

.form-switch a:hover {
    text-decoration: underline;
}

/* ========================================
   SIGNUP PAGE STYLES
   ======================================== */
main.signup-main {
    margin-top: 0;
    padding: 4rem 0;
}

.signup-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
}

.user-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.user-type-option {
    padding: 1.5rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--white);
}

.user-type-option:hover {
    border-color: var(--gold);
    background: var(--light-gold);
}

.user-type-option.active {
    border-color: var(--gold);
    background: var(--light-gold);
}

.user-type-option .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.user-type-option h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 0.25rem;
}

.user-type-option p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
}

.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    cursor: pointer;
}

.form-select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.conditional-fields {
    display: none;
}

.conditional-fields.active {
    display: block;
}

.verification-note {
    background: var(--light-gold);
    border: 2px solid var(--gold);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--deep-blue);
}

.verification-note strong {
    color: var(--gold);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #dcfce7;
    color: var(--success);
    border: 1px solid #bbf7d0;
    display: block;
}

.form-message.error {
    background: #fef2f2;
    color: var(--error);
    border: 1px solid #fecaca;
    display: block;
}

/* ========================================
   LOGIN PAGE STYLES
   ======================================== */
main.login-main {
    margin-top: 0;
    padding: 4rem 0;
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
}

.page-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.page-logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

.page-logo p {
    color: var(--gray-600);
    font-size: 1rem;
}

.verification-notice {
    background: var(--light-gold);
    border: 2px solid var(--gold);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--deep-blue);
}

.verification-notice strong {
    color: var(--gold);
}

.back-link {
    color: var(--gold);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
    margin-bottom: 1rem;
}

.back-link:hover {
    opacity: 0.8;
}

/* Settings page specific back link */
.page-header .back-link {
    background: var(--gray-200);
    color: var(--gray-800);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.page-header .back-link:hover {
    background: var(--gray-300);
    transform: translateY(-2px);
    opacity: 1;
}

/* ========================================
   ALERT STYLES
   ======================================== */
.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    font-weight: 500;
}

.alert-success {
    background: #dcfce7;
    color: var(--success);
    border: 1px solid #bbf7d0;
}

.alert-error {
    background: #fef2f2;
    color: var(--error);
    border: 1px solid #fecaca;
}

/* ========================================
   FOOTER - SINGLE VERSION FOR ALL DEVICES
   ======================================== */
.footer {
    background: var(--deep-blue);
    color: var(--white);
    padding: 4rem 0 2rem;
    text-align: center;
}

.footer .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section {
    width: 100%;
    text-align: center;
}

.footer-section:first-child h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
    text-align: center;
}

.footer-section:last-child h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 1.5rem;
    text-align: center;
}

.footer-section p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.footer-section ul {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    max-width: 300px;
}

.footer-section li {
    width: auto;
    margin: 0;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 1rem;
    text-align: center;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--gold);
}

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

/* Mobile adjustments */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 2rem;
    }
    
    .footer .container {
        padding: 0 1rem;
    }
    
    .footer-section:first-child h3 {
        font-size: 1.6rem;
    }
    
    .footer-section:last-child h3 {
        font-size: 1.2rem;
    }
    
    .footer-section p {
        font-size: 1rem;
    }
    
    .footer-section a {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 1.5rem;
    }
    
    .footer .container {
        padding: 0 0.75rem;
    }
    
    .footer-section:first-child h3 {
        font-size: 1.4rem;
    }
    
    .footer-section:last-child h3 {
        font-size: 1.1rem;
    }
    
    .footer-section p {
        font-size: 0.95rem;
    }
    
    .footer-section a {
        font-size: 0.9rem;
    }
}

/* ========================================
   SETTINGS PAGE STYLES
   ======================================== */
.page-header {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-title h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

.page-title p {
    color: var(--gray-600);
    font-size: 1.1rem;
}

.settings-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 1rem;
}

.current-info {
    background: var(--gray-100);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--gold);
}

.current-info .label {
    font-size: 0.85rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.current-info .value {
    font-weight: 600;
    color: var(--deep-blue);
}

.form-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 2rem 0;
}

/* ========================================
   YOUR PROPERTIES PAGE STYLES
   ======================================== */
.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-header {
    background: linear-gradient(135deg, var(--deep-blue) 0%, #2A3F63 100%);
    color: var(--white);
    padding: 3rem 0;
    border-radius: 20px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-header::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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 2rem;
}

.welcome-section {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.avatar-section {
    position: relative;
}

.user-avatar {
    width: 80px;
    height: 80px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

.welcome-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.highlight {
    color: var(--gold);
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.verification-banner {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid var(--warning);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.verification-banner h3 {
    color: #92400e;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.verification-banner p {
    color: #92400e;
    margin-bottom: 1.5rem;
}

.btn-verify {
    background: var(--warning);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-verify:hover {
    background: #d97706;
    transform: translateY(-2px);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.add-property-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    height: fit-content;
    position: relative;
    border-top: 4px solid var(--gold);
}

.add-property-section.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.add-property-section.disabled::before {
    content: '🔒 Email Verification Required';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(212, 175, 55, 0.9);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    z-index: 10;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 1rem;
}

.postcode-lookup-section {
    background: var(--light-gold);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    border: 2px solid var(--gold);
}

.postcode-input-group {
    display: flex;
    gap: 0.5rem;
}

.postcode-input {
    flex: 1;
}

.btn-lookup {
    background: var(--gold);
    color: var(--white);
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-lookup:hover {
    background: #B8941F;
    transform: translateY(-2px);
}

.btn-lookup:disabled {
    background: var(--gray-400);
    cursor: not-allowed;
    transform: none;
}

.btn-manual {
    width: 100%;
    background: var(--gray-600);
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.btn-manual:hover {
    background: var(--gray-800);
    transform: translateY(-2px);
}

.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    resize: vertical;
    min-height: 100px;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.properties-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-top: 4px solid var(--deep-blue);
}

.property-card {
    border: 2px solid var(--gray-200);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    background: var(--white);
}

.property-card:hover {
    border-color: var(--gold);
    background: var(--light-gold);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.property-address {
    flex: 1;
}

.property-address h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 0.25rem;
}

.property-address p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.4;
}

.property-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-item {
    text-align: center;
    padding: 0.75rem;
    background: var(--gray-100);
    border-radius: 10px;
}

.detail-label {
    font-size: 0.8rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.detail-value {
    font-weight: 600;
    color: var(--deep-blue);
    text-transform: capitalize;
}

.property-description {
    background: var(--gray-50);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-style: italic;
    color: var(--gray-700);
}

.property-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-details {
    background: var(--gold);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-details:hover {
    background: #B8941F;
    transform: translateY(-2px);
}

.btn-access {
    background: var(--success);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-access:hover {
    background: #15803d;
    transform: translateY(-2px);
}

.btn-services {
    background: var(--deep-blue);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-services:hover {
    background: #1e40af;
    transform: translateY(-2px);
}

.btn-delete {
    background: var(--error);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-delete:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

.no-properties {
    text-align: center;
    padding: 3rem;
    color: var(--gray-600);
}

.no-properties h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--deep-blue);
}

.stats-summary {
    background: linear-gradient(135deg, var(--deep-blue) 0%, #2A3F63 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    text-align: center;
}

.stats-summary h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stats-summary p {
    opacity: 0.9;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   DASHBOARD COMMON STYLES
   ======================================== */
/* Stats Dashboard */
.stats-dashboard {
    margin-bottom: 2rem;
}

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

.stats-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--deep-blue);
}

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

.stat-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
}

.stat-card.primary {
    border-top: 4px solid var(--deep-blue);
}

.stat-card.warning {
    border-top: 4px solid var(--warning);
}

.stat-card.success {
    border-top: 4px solid var(--success);
}

.stat-content {
    position: relative;
    z-index: 2;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.stat-icon-container {
    width: 50px;
    height: 50px;
    background: var(--gray-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon {
    font-size: 1.5rem;
}

.stat-trend {
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.stat-trend.positive {
    color: var(--success);
}

.stat-trend.negative {
    color: var(--error);
}

.stat-trend.neutral {
    color: var(--gray-600);
}

.stat-main h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.progress-bar {
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
    transition: width 1s ease;
}

/* Action Section */
.action-section {
    margin-bottom: 2rem;
}

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

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

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

.action-card-modern {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--gold);
}

.action-card-modern:hover {
    transform: translateY(-12px) scale(1.02);
}

.action-card-modern.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.card-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

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

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.icon-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--deep-blue);
    color: var(--white);
    border-radius: 12px;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.card-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

.card-features {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.feature {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* Activity Sections */
.outstanding-services-section,
.recent-activity-section {
    margin-bottom: 2rem;
}

.section-header-small {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header-small h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--deep-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-count-badge,
.activity-count-badge {
    background: var(--gold);
    color: var(--white);
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.services-container,
.activity-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-card,
.activity-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover,
.activity-card:hover {
    transform: translateY(-2px);
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--gray-600);
}

.empty-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Verification Alert */
.verification-alert {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid var(--warning);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.alert-content h3 {
    color: #92400e;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.verify-button {
    background: var(--warning);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.verify-button:hover {
    background: #d97706;
    transform: translateY(-2px);
}

/* ========================================
   MOBILE-SPECIFIC CLASSES (JavaScript Applied)
   ======================================== */
.mobile-dashboard .dashboard-container {
    padding: 0 1rem;
    max-width: 100%;
}

.mobile-dashboard .hero-header {
    margin-bottom: 1rem;
    padding: 2rem 0;
}

.mobile-dashboard .welcome-section {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
}

.mobile-dashboard .welcome-text h1 {
    font-size: 2rem;
}

.mobile-dashboard .user-avatar {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.mobile-dashboard .content-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.mobile-dashboard .add-property-section {
    margin-bottom: 1rem;
    padding: 1.5rem;
}

.mobile-dashboard .properties-section {
    padding: 1.5rem;
}

.mobile-dashboard .postcode-input-group {
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-dashboard .property-details {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.mobile-dashboard .property-header {
    flex-direction: column;
    gap: 1rem;
}

.mobile-dashboard .property-actions {
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-dashboard .property-actions button,
.mobile-dashboard .property-actions form {
    width: 100%;
}

.mobile-dashboard .section-title {
    font-size: 1.25rem;
    flex-direction: column;
    text-align: center;
}

.mobile-dashboard .stats-summary {
    margin-bottom: 1rem;
    padding: 1.5rem;
}

.mobile-dashboard .stats-summary h2 {
    font-size: 1.5rem;
}

.mobile-dashboard .advanced-stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.mobile-dashboard .action-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.mobile-dashboard .card-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
}

/* Extra small mobile */
.mobile-small .dashboard-container {
    padding: 0 0.5rem;
}

.mobile-small .hero-header {
    padding: 1.5rem 0;
}

.mobile-small .hero-content {
    padding: 0 1rem;
}

.mobile-small .welcome-text h1 {
    font-size: 1.8rem;
}

.mobile-small .add-property-section {
    padding: 1rem;
}

.mobile-small .properties-section {
    padding: 1rem;
}

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

.mobile-small .stats-summary {
    padding: 1rem;
}

/* ========================================
   MOBILE STYLES - VERY SPECIFIC SELECTORS
   ======================================== */
@media screen and (max-width: 768px) {
    /* Force mobile styles with very specific selectors */
    main .dashboard-container {
        padding: 0 1rem !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    main .hero-header {
        margin-bottom: 1rem !important;
        padding: 2rem 0 !important;
    }
    
    main .hero-content .welcome-section {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1rem !important;
    }
    
    main .welcome-text h1 {
        font-size: 2rem !important;
    }
    
    main .user-avatar {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
    }
    
    main .content-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    main .add-property-section {
        margin-bottom: 1rem !important;
        padding: 1.5rem !important;
    }
    
    main .properties-section {
        padding: 1.5rem !important;
    }
    
    main .postcode-input-group {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    main .property-details {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }
    
    main .property-header {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    main .property-actions {
        justify-content: center !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    main .property-actions button,
    main .property-actions form {
        width: 100% !important;
    }
    
    main .stats-summary {
        margin-bottom: 1rem !important;
        padding: 1.5rem !important;
    }
    
    main .advanced-stats-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    main .action-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    main .card-content {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1rem !important;
    }
    
    main .section-title {
        font-size: 1.25rem !important;
    }
}

@media screen and (max-width: 480px) {
    main .dashboard-container {
        padding: 0 0.5rem !important;
    }
    
    main .hero-header {
        padding: 1.5rem 0 !important;
    }
    
    main .welcome-text h1 {
        font-size: 1.8rem !important;
    }
    
    main .add-property-section {
        padding: 1rem !important;
    }
    
    main .properties-section {
        padding: 1rem !important;
    }
    
    main .property-details {
        grid-template-columns: 1fr !important;
    }
    
    main .stats-summary {
        padding: 1rem !important;
    }
}

@media (max-width: 480px) {
    .footer-mobile {
        padding: 2rem 0 1.5rem;
    }
    
    .footer-mobile .container {
        padding: 0 0.5rem;
    }
    
    .footer-mobile .footer-section:first-child h3 {
        font-size: 1.4rem;
    }
    
    .footer-mobile .footer-section:last-child h3 {
        font-size: 1.1rem;
    }
    
    .footer-mobile .footer-section p {
        font-size: 0.95rem;
    }
    
    .footer-mobile .footer-section a {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
}

/* ========================================
   COOKIE CONSENT
   ======================================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    z-index: 1000;
    border-top: 3px solid var(--gold);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cookie-icon {
    font-size: 1.5rem;
    color: var(--gold);
}

.cookie-text {
    color: var(--gray-800);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-text a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.cookie-btn.accept {
    background: var(--gold);
    color: var(--white);
}

.cookie-btn.accept:hover {
    background: #B8941F;
    transform: translateY(-1px);
}

.cookie-btn.decline {
    background: transparent;
    color: var(--gray-600);
    border: 2px solid var(--gray-300);
}

.cookie-btn.decline:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.6rem;
    }

    .logo-image {
        width: 28px;
        height: 28px;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 200px;
        text-align: center;
    }

    .hero-stats {
        gap: 2rem;
    }

    /* Values */
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .value-card {
        padding: 2rem;
    }

    /* Steps */
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* CTA */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn-white {
        width: 200px;
        text-align: center;
    }

    /* Mockup */
    .mockup-content {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .contact-info {
        order: -1;
    }

    /* Login */
    .login-container {
        margin: 1rem;
        padding: 2rem;
    }

    /* Cookie */
    .cookie-consent {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .cookie-content {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        max-width: 120px;
    }

    /* Footer */
    .footer {
        padding: 3rem 0 2rem;
    }

    .footer .container {
        padding: 0 1rem;
    }

    .footer-content {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-brand h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .footer-brand p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .footer-links h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .footer-links-list {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .footer-links-list li {
        width: 100%;
        text-align: center;
    }

    .footer-links-list li:not(:last-child)::after {
        display: none;
    }

    .footer-links-list li a {
        display: block;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .footer-links-list li a:hover {
        background: rgba(212, 175, 55, 0.1);
    }

    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.9rem;
    }
}

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

    .logo {
        font-size: 1.4rem;
    }

    .logo-image {
        width: 24px;
        height: 24px;
    }

    .mobile-nav-menu {
        width: 100%;
        border-radius: 0;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Note: Dashboard and Properties extra small mobile styles handled by .mobile-small class */
}
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

.hidden {
    display: none;
}

.visible {
    display: block;
}

.opacity-0 {
    opacity: 0;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-100 {
    opacity: 1;
}

/* ========================================
   MOBILE RESPONSIVENESS FIXES
   Enhanced mobile styles for Dashboard and Settings
   ======================================== */

/* ========================================
   DASHBOARD MOBILE FIXES
   ======================================== */

/* Base mobile styles - apply to all mobile devices */
@media screen and (max-width: 768px) {
    /* Dashboard Container */
    .dashboard-container {
        padding: 0 1rem !important;
        max-width: 100% !important;
    }
    
    /* Hero Header Section */
    .hero-header {
        margin-bottom: 1rem !important;
        padding: 2rem 0 !important;
    }
    
    .hero-content {
        padding: 0 1rem !important;
    }
    
    .welcome-section {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1rem !important;
        align-items: center !important;
    }
    
    .welcome-text h1 {
        font-size: 2rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .subtitle {
        font-size: 1rem !important;
    }
    
    .user-avatar {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
    }
    
    /* Verification Alert */
    .verification-alert {
        margin-bottom: 1rem !important;
        padding: 1.5rem !important;
    }
    
    .alert-content {
        text-align: center !important;
    }
    
    .alert-content h3 {
        font-size: 1.1rem !important;
    }
    
    .verify-button {
        width: 100% !important;
        justify-content: center !important;
    }
    
    /* Stats Dashboard */
    .stats-dashboard {
        margin-bottom: 1.5rem !important;
    }
    
    .stats-header {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1rem !important;
    }
    
    .stats-header h2 {
        font-size: 1.5rem !important;
    }
    
    .advanced-stats-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .stat-card {
        padding: 1.5rem !important;
    }
    
    .stat-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
    }
    
    .stat-main h3 {
        font-size: 1.75rem !important;
    }
    
    .stat-trend {
        align-self: flex-end !important;
    }
    
    /* Action Section */
    .action-section {
        margin-bottom: 1.5rem !important;
    }
    
    .section-header {
        margin-bottom: 1.5rem !important;
    }
    
    .section-header h2 {
        font-size: 1.75rem !important;
    }
    
    .section-header p {
        font-size: 1rem !important;
    }
    
    .action-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .action-card-modern {
        padding: 1.5rem !important;
    }
    
    .card-content {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1rem !important;
        align-items: center !important;
    }
    
    .card-info {
        text-align: center !important;
    }
    
    .card-features {
        align-items: center !important;
    }
    
    .card-arrow {
        display: none !important;
    }
    
    /* Activity Sections */
    .outstanding-services-section,
    .recent-activity-section {
        margin-bottom: 1.5rem !important;
    }
    
    .section-header-small {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.5rem !important;
        text-align: center !important;
    }
    
    .section-header-small h3 {
        font-size: 1.2rem !important;
    }
    
    .services-container,
    .activity-container {
        gap: 0.75rem !important;
    }
    
    .service-card,
    .activity-card {
        padding: 1rem !important;
    }
    
    .service-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }
    
    .service-meta {
        flex-direction: column !important;
        gap: 0.5rem !important;
        align-items: flex-start !important;
    }
    
    .activity-card {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .activity-content {
        text-align: center !important;
    }
    
    .activity-meta {
        flex-direction: column !important;
        gap: 0.25rem !important;
    }
}

/* Extra small mobile devices */
@media screen and (max-width: 480px) {
    .dashboard-container {
        padding: 0 0.75rem !important;
    }
    
    .hero-header {
        padding: 1.5rem 0 !important;
    }
    
    .hero-content {
        padding: 0 0.75rem !important;
    }
    
    .welcome-text h1 {
        font-size: 1.8rem !important;
    }
    
    .verification-alert {
        padding: 1rem !important;
    }
    
    .stat-card {
        padding: 1rem !important;
    }
    
    .stat-main h3 {
        font-size: 1.5rem !important;
    }
    
    .action-card-modern {
        padding: 1rem !important;
    }
    
    .card-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.25rem !important;
    }
    
    .section-header h2 {
        font-size: 1.5rem !important;
    }
    
    .service-card,
    .activity-card {
        padding: 0.75rem !important;
    }
}

/* ========================================
   SETTINGS PAGE MOBILE FIXES
   ======================================== */

@media screen and (max-width: 768px) {
    /* Page Header */
    .page-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        padding: 1.5rem !important;
    }
    
    .page-title {
        text-align: center !important;
        width: 100% !important;
    }
    
    .page-title h1 {
        font-size: 1.75rem !important;
    }
    
    .page-title p {
        font-size: 1rem !important;
    }
    
    .back-link {
        align-self: center !important;
        width: auto !important;
    }
    
    /* Settings Sections */
    .settings-section {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .section-title {
        font-size: 1.2rem !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 0.5rem !important;
    }
    
    /* Form Elements */
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .form-group {
        margin-bottom: 1rem !important;
    }
    
    .form-label {
        font-size: 0.9rem !important;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 0.875rem !important;
        font-size: 0.95rem !important;
    }
    
    /* Current Info Display */
    .current-info {
        padding: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .current-info .label {
        font-size: 0.8rem !important;
    }
    
    .current-info .value {
        font-size: 0.95rem !important;
        word-break: break-word !important;
    }
    
    /* Buttons */
    .btn-primary {
        width: 100% !important;
        padding: 1rem !important;
        font-size: 1rem !important;
    }
    
    /* Form Checkbox */
    .form-checkbox {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }
    
    .form-checkbox label {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
    
    /* Alerts */
    .alert {
        padding: 1rem !important;
        font-size: 0.9rem !important;
        text-align: center !important;
    }
}

@media screen and (max-width: 480px) {
    .page-header {
        padding: 1rem !important;
    }
    
    .page-title h1 {
        font-size: 1.5rem !important;
    }
    
    .settings-section {
        padding: 1rem !important;
    }
    
    .section-title {
        font-size: 1.1rem !important;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 0.75rem !important;
    }
    
    .current-info {
        padding: 0.75rem !important;
    }
}

/* ========================================
   GENERAL CONTAINER AND LAYOUT FIXES
   ======================================== */

@media screen and (max-width: 768px) {
    /* Main container adjustments */
    .container {
        padding: 0 1rem !important;
        max-width: 100% !important;
    }
    
    /* Navigation fixes */
    .nav-container {
        padding: 0 1rem !important;
    }
    
    /* General section spacing */
    .content-section {
        padding: 3rem 0 !important;
    }
    
    /* Form improvements */
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus,
    .form-input:focus {
        box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2) !important;
    }
    
    /* Button improvements */
    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none !important; /* Disable hover transforms on mobile */
    }
    
    /* Text improvements */
    body {
        font-size: 16px !important; /* Prevent zoom on iOS */
    }
    
    /* Touch improvements */
    .action-card-modern:hover {
        transform: none !important; /* Disable hover effects on mobile */
    }
    
    .stat-card:hover {
        transform: none !important; 
    }
    
    .service-card:hover,
    .activity-card:hover {
        transform: none !important;
    }
}

/* ========================================
   UTILITY CLASSES FOR MOBILE
   ======================================== */

.mobile-hidden {
    display: none !important;
}

.mobile-visible {
    display: block !important;
}

.mobile-center {
    text-align: center !important;
}

.mobile-full-width {
    width: 100% !important;
}

@media screen and (min-width: 769px) {
    .mobile-hidden {
        display: block !important;
    }
    
    .mobile-visible {
        display: none !important;
    }
}

/* ========================================
   SETTINGS PAGE SPECIFIC STYLES
   Add these styles to your main.css file
   ======================================== */

/* Settings Navigation */
.settings-navigation {
    margin-bottom: 2rem;
    text-align: center;
}

.settings-navigation .back-link {
    background: var(--white);
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.settings-navigation .back-link:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

/* Settings Grid Layout */
.settings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Enhanced Settings Sections */
.settings-section {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-top: 4px solid var(--gold);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.settings-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.02) 0%, rgba(28, 44, 76, 0.02) 100%);
    pointer-events: none;
}

.settings-section > * {
    position: relative;
    z-index: 1;
}

/* Section Titles */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 1rem;
}

.section-title span {
    font-size: 1.5rem;
}

/* Current Info Display */
.current-info {
    background: var(--light-gold);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 2px solid var(--gold);
    position: relative;
}

.current-info::before {
    content: '🔍';
    position: absolute;
    top: -10px;
    right: 15px;
    background: var(--white);
    padding: 0.5rem;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.current-info .label {
    font-size: 0.9rem;
    color: var(--deep-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.current-info .value {
    font-weight: 700;
    color: var(--deep-blue);
    font-size: 1.1rem;
    word-break: break-word;
}

/* Form Notes */
.form-note {
    background: var(--gray-100);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--gold);
}

.form-note p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.5;
}

/* Preference Card */
.preference-card {
    background: var(--gray-50);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
}

.preference-card:hover {
    border-color: var(--gold);
    background: var(--light-gold);
}

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

.preference-icon {
    width: 50px;
    height: 50px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.preference-content {
    flex: 1;
}

.preference-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 0.25rem;
}

.preference-content p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.4;
}

/* Toggle Switch */
.preference-toggle {
    position: relative;
    flex-shrink: 0;
}

.toggle-switch {
    display: none;
}

.toggle-label {
    display: block;
    width: 50px;
    height: 25px;
    background: var(--gray-300);
    border-radius: 25px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-label::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 21px;
    height: 21px;
    background: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-switch:checked + .toggle-label {
    background: var(--gold);
}

.toggle-switch:checked + .toggle-label::after {
    transform: translateX(25px);
}

/* Account Information Grid */
.account-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-item {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
}

.info-item:hover {
    border-color: var(--gold);
    background: var(--light-gold);
    transform: translateY(-3px);
}

.info-label {
    font-size: 0.85rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.info-value {
    font-weight: 700;
    color: var(--deep-blue);
    font-size: 1rem;
}

/* Account and Status Badges */
.account-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.account-badge.landlord {
    background: var(--light-gold);
    color: var(--deep-blue);
    border: 2px solid var(--gold);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.status-badge.verified {
    background: #dcfce7;
    color: var(--success);
    border: 2px solid var(--success);
}

.status-badge.unverified {
    background: #fef3c7;
    color: var(--warning);
    border: 2px solid var(--warning);
}

/* Enhanced Button Styling */
.settings-section .btn-primary {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--gold) 0%, #E6C547 100%);
    border: none;
    border-radius: 12px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.settings-section .btn-primary::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 ease;
}

.settings-section .btn-primary:hover::before {
    left: 100%;
}

.settings-section .btn-primary:hover {
    background: linear-gradient(135deg, #B8941F 0%, #D4AF37 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* Form Row Improvements */
.settings-section .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Form Input Enhancements */
.settings-section .form-input {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.settings-section .form-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    background: var(--light-gold);
}

/* ========================================
   MOBILE RESPONSIVENESS FOR SETTINGS
   ======================================== */

@media screen and (max-width: 768px) {
    .settings-grid {
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .settings-section {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .section-title {
        font-size: 1.25rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .preference-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .preference-content {
        text-align: center;
    }
    
    .account-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .settings-section .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .current-info {
        padding: 1rem;
        text-align: center;
    }
    
    .current-info::before {
        display: none;
    }
    
    .form-note {
        padding: 1rem;
        text-align: center;
    }
    
    .settings-navigation .back-link {
        width: auto;
        min-width: 200px;
    }
}

@media screen and (max-width: 480px) {
    .settings-section {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
    
    .preference-card {
        padding: 1rem;
    }
    
    .info-item {
        padding: 1rem;
    }
    
    .account-badge,
    .status-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* ========================================
   ANIMATION ENHANCEMENTS
   ======================================== */

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

.settings-section {
    animation: slideInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.settings-section:nth-child(1) { animation-delay: 0.1s; }
.settings-section:nth-child(2) { animation-delay: 0.2s; }
.settings-section:nth-child(3) { animation-delay: 0.3s; }
.settings-section:nth-child(4) { animation-delay: 0.4s; }

/* Hover effects for mobile */
@media (hover: none) and (pointer: coarse) {
    .settings-section:hover {
        transform: none;
        box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    }
    
    .info-item:hover {
        transform: none;
    }
    
    .preference-card:hover {
        border-color: var(--gray-200);
        background: var(--gray-50);
    }
}

/* ========================================
   ACTIVE JOBS PAGE STYLES
   Add these styles to main.css
   ======================================== */

/* Quick Stats Grid */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

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

/* Jobs Section */
.jobs-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-top: 4px solid var(--deep-blue);
}

/* Job Cards */
.job-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 4px solid var(--gray-300);
    transition: all 0.3s ease;
    position: relative;
}

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

.job-card.accepted,
.job-card.quote_won {
    border-left-color: var(--success);
}

.job-card.in_progress {
    border-left-color: var(--gold);
}

.job-card.completed {
    border-left-color: var(--deep-blue);
}

.job-card.urgent {
    border-left-color: var(--error);
    background: linear-gradient(135deg, #fef2f2 0%, var(--white) 100%);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.job-info {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.service-type-badge {
    background: var(--deep-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.job-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-accepted .status-dot,
.status-quote_won .status-dot {
    background: var(--success);
}

.status-in_progress .status-dot {
    background: var(--gold);
}

.status-completed .status-dot {
    background: var(--deep-blue);
}

.job-date {
    color: var(--gray-600);
    font-size: 0.85rem;
}

.job-content h3 {
    color: var(--deep-blue);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

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

.detail-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.detail-value {
    color: var(--gray-800);
}

.additional-notes {
    background: var(--gray-100);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.completion-details {
    background: var(--light-gold);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 2px solid var(--gold);
}

.completion-details h4 {
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

.job-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-invoice {
    background: #8B5CF6;
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-invoice:hover {
    background: #7C3AED;
    transform: translateY(-2px);
    color: var(--white);
}

.btn-details {
    background: var(--gray-600);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-details:hover {
    background: var(--gray-800);
    transform: translateY(-2px);
}

/* Job Details Modal Content */
.job-detail-section {
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--gray-100);
    border-radius: 8px;
}

.job-detail-section h4 {
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

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

/* Priority Badge */
.priority-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.8rem;
}

.priority-urgent {
    background: var(--error);
    color: var(--white);
    animation: pulse 2s infinite;
}

.priority-soon {
    background: var(--warning);
    color: var(--white);
}

.priority-standard {
    background: var(--gray-200);
    color: var(--gray-800);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray-600);
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--deep-blue);
}

.empty-state p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Animation for urgent items */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* ========================================
   MOBILE RESPONSIVENESS FOR ACTIVE JOBS
   ======================================== */

@media screen and (max-width: 768px) {
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .jobs-section {
        padding: 1.5rem;
    }

    .job-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .job-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .job-info {
        justify-content: flex-start;
        width: 100%;
    }

    .job-details {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .job-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .job-actions button,
    .job-actions form {
        width: 100%;
    }

    .job-actions button,
    .job-actions input[type="submit"] {
        padding: 1rem;
        font-size: 1rem;
    }

    .modal-content {
        margin: 2% auto;
        width: 95%;
    }

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

@media screen and (max-width: 480px) {
    .quick-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .stat-item {
        padding: 0.75rem;
    }

    .jobs-section {
        padding: 1rem;
    }

    .job-card {
        padding: 1rem;
    }

    .service-type-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .priority-badge {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }

    .job-status {
        font-size: 0.8rem;
    }

    .job-content h3 {
        font-size: 1.1rem;
    }

    .detail-label {
        min-width: 70px;
        font-size: 0.85rem;
    }

    .detail-value {
        font-size: 0.85rem;
    }
}

/* Hover effects disabled on mobile */
@media (hover: none) and (pointer: coarse) {
    .job-card:hover {
        transform: none;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }

    .stat-item:hover {
        transform: none;
    }

    .btn-invoice:hover,
    .btn-details:hover {
        transform: none;
    }
}

/* Quick Stats Grid */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

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

/* Jobs Section */
.jobs-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-top: 4px solid var(--deep-blue);
}

/* Job Cards */
.job-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 4px solid var(--gray-300);
    transition: all 0.3s ease;
    position: relative;
}

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

.job-card.accepted,
.job-card.quote_won {
    border-left-color: var(--success);
}

.job-card.in_progress {
    border-left-color: var(--gold);
}

.job-card.completed {
    border-left-color: var(--deep-blue);
}

.job-card.urgent {
    border-left-color: var(--error);
    background: linear-gradient(135deg, #fef2f2 0%, var(--white) 100%);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.job-info {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.service-type-badge {
    background: var(--deep-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.job-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-accepted .status-dot,
.status-quote_won .status-dot {
    background: var(--success);
}

.status-in_progress .status-dot {
    background: var(--gold);
}

.status-completed .status-dot {
    background: var(--deep-blue);
}

.job-date {
    color: var(--gray-600);
    font-size: 0.85rem;
}

.job-content h3 {
    color: var(--deep-blue);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

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

.detail-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.detail-value {
    color: var(--gray-800);
}

.additional-notes {
    background: var(--gray-100);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.completion-details {
    background: var(--light-gold);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 2px solid var(--gold);
}

.completion-details h4 {
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

.job-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-invoice {
    background: #8B5CF6;
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-invoice:hover {
    background: #7C3AED;
    transform: translateY(-2px);
    color: var(--white);
}

.btn-details {
    background: var(--gray-600);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-details:hover {
    background: var(--gray-800);
    transform: translateY(-2px);
}

/* Job Details Modal Content */
.job-detail-section {
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--gray-100);
    border-radius: 8px;
}

.job-detail-section h4 {
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

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

/* Priority Badge */
.priority-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.8rem;
}

.priority-urgent {
    background: var(--error);
    color: var(--white);
    animation: pulse 2s infinite;
}

.priority-soon {
    background: var(--warning);
    color: var(--white);
}

.priority-standard {
    background: var(--gray-200);
    color: var(--gray-800);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray-600);
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--deep-blue);
}

.empty-state p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   MODAL STYLES FOR ACTIVE JOBS
   ======================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 2px solid var(--gray-200);
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--white) 100%);
}

.modal-header h3 {
    margin: 0;
    color: var(--deep-blue);
    font-size: 1.5rem;
    font-weight: 700;
}

.close {
    color: var(--gray-400);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    color: var(--error);
    background: rgba(220, 38, 38, 0.1);
    transform: scale(1.1);
}

.modal form {
    padding: 2rem;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    background: var(--light-gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    line-height: 1.5;
}

.form-group input[type="number"] {
    -moz-appearance: textfield;
}

.form-group input[type="number"]::-webkit-outer-spin-button,
.form-group input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.modal-actions button {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-width: 120px;
}

.modal-actions .btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, #E6C547 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.modal-actions .btn-primary:hover {
    background: linear-gradient(135deg, #B8941F 0%, var(--gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.modal-actions .btn-secondary {
    background: var(--gray-200);
    color: var(--gray-800);
    border: 2px solid var(--gray-300);
}

.modal-actions .btn-secondary:hover {
    background: var(--gray-300);
    border-color: var(--gray-400);
    transform: translateY(-2px);
}

/* Modal specific enhancements */
#updateModal .modal-content {
    border-top: 4px solid var(--gold);
}

#completeModal .modal-content {
    border-top: 4px solid var(--success);
}

#invoiceModal .modal-content {
    border-top: 4px solid #8B5CF6;
}

#detailsModal .modal-content {
    border-top: 4px solid var(--deep-blue);
    max-width: 800px;
}

#detailsModal .modal-header {
    background: linear-gradient(135deg, var(--deep-blue) 0%, #2A3F63 100%);
}

#detailsModal .modal-header h3 {
    color: var(--white);
}

#detailsModal .close {
    color: rgba(255, 255, 255, 0.8);
}

#detailsModal .close:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

#jobDetailsContent {
    padding: 2rem;
}

/* Animation for urgent items */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* ========================================
   MOBILE RESPONSIVENESS FOR ACTIVE JOBS
   ======================================== */

@media screen and (max-width: 768px) {
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .jobs-section {
        padding: 1.5rem;
    }

    .job-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .job-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .job-info {
        justify-content: flex-start;
        width: 100%;
    }

    .job-details {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .job-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .job-actions button,
    .job-actions form {
        width: 100%;
    }

    .job-actions button,
    .job-actions input[type="submit"] {
        padding: 1rem;
        font-size: 1rem;
    }

    .modal-content {
        margin: 2% auto;
        width: 95%;
    }

    .modal-header {
        padding: 1.5rem;
    }

    .modal form {
        padding: 1.5rem;
    }

    .modal-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .modal-actions button {
        width: 100%;
    }

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

@media screen and (max-width: 480px) {
    .quick-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .stat-item {
        padding: 0.75rem;
    }

    .jobs-section {
        padding: 1rem;
    }

    .job-card {
        padding: 1rem;
    }

    .service-type-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .priority-badge {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }

    .job-status {
        font-size: 0.8rem;
    }

    .job-content h3 {
        font-size: 1.1rem;
    }

    .detail-label {
        min-width: 70px;
        font-size: 0.85rem;
    }

    .detail-value {
        font-size: 0.85rem;
    }

    .modal-content {
        margin: 1% auto;
        width: 98%;
        border-radius: 15px;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-header h3 {
        font-size: 1.25rem;
    }

    .modal form {
        padding: 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
}

/* Hover effects disabled on mobile */
@media (hover: none) and (pointer: coarse) {
    .job-card:hover {
        transform: none;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }

    .stat-item:hover {
        transform: none;
    }

    .btn-invoice:hover,
    .btn-details:hover {
        transform: none;
    }

    .modal-actions .btn-primary:hover,
    .modal-actions .btn-secondary:hover {
        transform: none;
    }
}

/* ========================================
   MOBILE BUTTON WIDTH FIX
   Add this to your main.css file
   ======================================== */

/* Enhanced mobile styles for hero and CTA buttons */
@media screen and (max-width: 768px) {
    /* Hero Section Buttons */
    .hero .hero-buttons {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
    }

    .hero .hero-buttons .btn-primary,
    .hero .hero-buttons .btn-secondary {
        width: 250px !important;
        max-width: 90vw !important;
        text-align: center !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    /* CTA Section Buttons */
    .cta-section .cta-buttons {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
    }

    .cta-section .cta-buttons .btn-white {
        width: 250px !important;
        max-width: 90vw !important;
        text-align: center !important;
        display: block !important;
        box-sizing: border-box !important;
    }
}

/* Extra small mobile devices */
@media screen and (max-width: 480px) {
    .hero .hero-buttons .btn-primary,
    .hero .hero-buttons .btn-secondary {
        width: 200px !important;
        max-width: 85vw !important;
        padding: 1rem 1.5rem !important;
        font-size: 0.95rem !important;
    }

    .cta-section .cta-buttons .btn-white {
        width: 200px !important;
        max-width: 85vw !important;
        padding: 1rem 1.5rem !important;
        font-size: 0.95rem !important;
    }
}

/* Force consistent button behavior */
@media screen and (max-width: 768px) {
    .btn-primary,
    .btn-secondary,
    .btn-white {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

/* 🔍 DEBUG CSS - Add this to your main CSS file or in a <style> tag */

/* STEP 1: Hide all potential unread text elements */
/* This should immediately hide the red "unread" text */

/* Hide any element containing "unread" or "unre" text */
*:contains("unread"),
*:contains("Unread"),
*:contains("UNREAD"),
*:contains("unre") {
    display: none !important;
}

/* Hide elements with specific classes that might be causing this */
.unread-text,
.unread-message,
.unread-label,
.unread-count-text,
.notification-unread,
.unread-indicator-text,
[class*="unread"]:not(.notification-count):not(.unread-indicator):not(.notification-badge):not(.unread-summary):not(.notification-card) {
    display: none !important;
}

/* Hide any absolutely positioned elements with red color that might be notifications */
*[style*="position: absolute"][style*="color: red"],
*[style*="position: fixed"][style*="color: red"],
*[style*="position: absolute"][style*="color: #dc2626"],
*[style*="position: fixed"][style*="color: #dc2626"] {
    display: none !important;
}

/* STEP 2: Debug - Add red borders to find problematic elements */
/* Uncomment these lines one at a time to see which elements are causing issues */

/*
* {
    border: 1px solid blue !important;
}

*:contains("unread") {
    border: 3px solid red !important;
    background: yellow !important;
}
*/

/* STEP 3: Specific fixes for common notification issues */

/* Hide any pseudo-elements that might be showing "unread" */
*::before,
*::after {
    content: none !important;
}

/* Reset any problematic positioning */
.notification-badge::before,
.notification-badge::after,
.notification-count::before,
.notification-count::after {
    display: none !important;
}

/* Hide elements that are positioned outside viewport */
*[style*="right: -"] {
    display: none !important;
}

/* STEP 4: Nuclear option - hide anything with red text color */
/* Uncomment if nothing else works */
/*
*[style*="color: red"],
*[style*="color: #dc2626"],
*[style*="color: #ef4444"] {
    color: transparent !important;
}
*/

/* STEP 5: Hide specific problematic selectors */
/* Based on common notification libraries */
.toastr-unread,
.notification-text,
.alert-unread,
.badge-unread,
.status-unread,
.indicator-unread {
    display: none !important;
}

/* Hide any floating/overlay elements */
.floating-notification,
.overlay-notification,
.popup-notification,
.toast-notification {
    display: none !important;
}

/* ========================================
   CONTRACTOR DASHBOARD STYLES
   Add this section to your main.css file
   ======================================== */

/* Account Setup Section */
.account-setup-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

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

.setup-header h3 {
    color: #0369a1;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.setup-header p {
    color: #0284c7;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.progress-overview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.progress-text {
    color: #0369a1;
    font-weight: 600;
    font-size: 0.9rem;
}

.progress-bar {
    width: 200px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0ea5e9, #06b6d4);
    border-radius: 4px;
    transition: width 1s ease;
}

.setup-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.setup-step-card {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 220px;
}

.setup-step-card.completed {
    border-color: var(--success);
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.setup-step-card.active {
    border-color: var(--gold);
    background: linear-gradient(135deg, var(--light-gold) 0%, #ffffff 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.setup-step-card.disabled {
    opacity: 0.6;
    border-color: var(--gray-300);
    background: #f8f9fa;
}

.setup-step-card.pending {
    border-color: var(--warning);
    background: linear-gradient(135deg, #fef3c7 0%, #ffffff 100%);
}

.step-number {
    position: absolute;
    top: -10px;
    left: 1.5rem;
    width: 30px;
    height: 30px;
    background: var(--deep-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    border: 3px solid var(--white);
}

.setup-step-card.completed .step-number {
    background: var(--success);
}

.setup-step-card.active .step-number {
    background: var(--gold);
}

.setup-step-card.disabled .step-number {
    background: var(--gray-400);
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.step-content h4 {
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step-content p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.step-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.step-btn.primary {
    background: var(--error);
    color: var(--white);
}

.step-btn.primary:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.step-btn.secondary {
    background: var(--warning);
    color: var(--white);
}

.step-btn.secondary:hover {
    background: #d97706;
    transform: translateY(-2px);
}

.step-btn.outline {
    background: transparent;
    color: var(--deep-blue);
    border: 2px solid var(--deep-blue);
}

.step-btn.outline:hover {
    background: var(--deep-blue);
    color: var(--white);
}

.step-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.step-status.completed-status {
    color: var(--success);
}

.step-status.pending-status {
    color: var(--warning);
}

.step-disabled {
    color: var(--gray-500);
    font-style: italic;
    font-size: 0.9rem;
}

.step-requirement {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--error);
    color: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.setup-step-card.completed .step-requirement {
    background: var(--success);
}

/* Next Steps Section */
.next-steps-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px dashed #0ea5e9;
}

.next-steps-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.next-steps-header h4 {
    color: #0369a1;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.next-steps-header p {
    color: #0284c7;
    margin: 0;
}

/* Selected Services Summary */
.selected-services-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.service-tag {
    background: var(--gold);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Coverage Areas Summary */
.coverage-areas-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.coverage-tag {
    background: var(--deep-blue);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.coverage-info {
    margin: 1rem 0;
}

.coverage-description {
    background: var(--light-gold);
    padding: 1rem;
    border-radius: 10px;
    border: 2px solid var(--gold);
    color: var(--deep-blue);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

/* Qualification Requirements */
.qualification-requirements {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
}

.qualification-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: var(--gray-50);
    border-radius: 8px;
    font-size: 0.85rem;
}

.qual-name {
    font-weight: 600;
    color: var(--deep-blue);
}

.qual-status {
    font-size: 0.8rem;
    font-weight: 600;
}

.qual-status.verified {
    color: var(--success);
}

.qual-status.pending {
    color: var(--warning);
}

.qual-status.missing {
    color: var(--error);
}

/* Services Form */
.services-form-container {
    background: var(--white);
    border: 2px solid var(--gold);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

.services-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.services-form-header h4 {
    color: var(--deep-blue);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.services-form-header p {
    color: var(--gray-600);
    margin: 0;
}

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

.service-item {
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    background: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.service-item:hover {
    border-color: var(--gold);
    background: var(--light-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.service-item.selected {
    border-color: var(--gold);
    background: var(--light-gold);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.service-checkbox {
    flex: 1;
    pointer-events: none;
}

.service-checkbox input[type="checkbox"] {
    display: none;
}

.service-label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--deep-blue);
    pointer-events: none;
}

.service-name {
    font-size: 1rem;
}

.qualification-required {
    font-size: 0.85rem;
    color: var(--warning);
    font-weight: 500;
}

.service-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-item.selected .service-icon {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.check-icon {
    font-size: 1.5rem;
    font-weight: bold;
}

.services-form-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Account Ready Notice */
.account-ready-notice {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid var(--success);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.ready-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.ready-content h4 {
    color: var(--success);
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
}

.ready-content p {
    color: #166534;
    margin: 0;
    font-size: 1rem;
}

/* Profile Management Section */
.profile-management-section {
    margin-bottom: 2rem;
}

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

/* Profile Cards - Updated for Modal Design */
.profile-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    cursor: pointer;
}

.profile-card:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.15);
    transform: translateY(-2px);
}

.card-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
    border-bottom: 1px solid var(--gray-100);
}

.card-header:hover {
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--gray-50) 100%);
}

.card-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.card-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.card-title h4 {
    color: var(--deep-blue);
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.completion-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: auto;
    margin-right: 1rem;
}

.completion-badge.completed {
    background: var(--success);
    color: var(--white);
}

.completion-badge.incomplete {
    background: var(--warning);
    color: var(--white);
}

.card-action {
    flex-shrink: 0;
}

.action-icon {
    font-size: 1.2rem;
    color: var(--deep-blue);
    font-weight: bold;
}

.card-summary {
    padding: 1.5rem 2rem;
    background: var(--gray-50);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

.modal-large {
    max-width: 1000px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 2px solid var(--gray-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--white) 100%);
}

.modal-header h3 {
    color: var(--deep-blue);
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gray-600);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--gray-200);
    color: var(--deep-blue);
}

.modal-body {
    padding: 2rem;
    max-height: calc(90vh - 200px);
    overflow-y: auto;
}

.modal-description {
    color: var(--gray-600);
    margin-bottom: 2rem;
    font-style: italic;
    text-align: center;
    font-size: 1rem;
    line-height: 1.5;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gray-100);
}

.modal-footer {
    padding: 1rem 2rem 2rem 2rem;
    text-align: center;
    border-top: 2px solid var(--gray-100);
}

/* Services Modal Styles */
.services-modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-modal-item {
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-modal-item:hover {
    border-color: var(--gold);
    background: var(--light-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

.service-modal-item.selected {
    border-color: var(--gold);
    background: var(--light-gold);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.service-modal-checkbox {
    flex: 1;
    pointer-events: none;
}

.service-modal-checkbox input[type="checkbox"] {
    display: none;
}

.service-modal-label {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-weight: 600;
    color: var(--deep-blue);
    pointer-events: none;
}

.service-modal-name {
    font-size: 0.9rem;
}

.qualification-modal-required {
    font-size: 0.75rem;
    color: var(--warning);
    font-weight: 500;
}

.service-modal-icon {
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-modal-item.selected .service-modal-icon {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.check-modal-icon {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Documents Modal Styles */
.verification-notice-modal {
    background: var(--light-gold);
    border: 2px solid var(--warning);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.notice-modal-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.notice-modal-content h5 {
    color: var(--deep-blue);
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.notice-modal-content p {
    color: var(--gray-700);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.documents-modal-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.document-modal-category {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.document-modal-category h5 {
    color: var(--deep-blue);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.document-modal-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.document-modal-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.document-modal-info {
    flex: 1;
}

.document-modal-info h6 {
    color: var(--deep-blue);
    margin: 0 0 0.25rem 0;
    font-size: 0.95rem;
}

.document-modal-info p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.3;
}

.document-modal-status {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.document-status-modal {
    text-align: center;
    padding: 0.5rem;
    border-radius: 8px;
    border: 2px solid;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 100px;
    min-height: 60px;
    justify-content: center;
}

.document-status-modal.status-approved {
    background: #f0fdf4;
    border-color: var(--success);
}

.document-status-modal.status-pending {
    background: #fef3c7;
    border-color: var(--warning);
}

.document-status-modal.status-rejected {
    background: #fef2f2;
    border-color: var(--error);
}

.status-modal-icon {
    font-size: 1.2rem;
}

.status-modal-text {
    font-weight: 600;
    font-size: 0.8rem;
    margin: 0;
}

.status-approved .status-modal-text {
    color: var(--success);
}

.status-pending .status-modal-text {
    color: #92400e;
}

.status-rejected .status-modal-text {
    color: var(--error);
}

.upload-modal-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.upload-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
}

.upload-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--deep-blue);
}

.file-modal-input, .date-modal-input {
    font-size: 0.75rem;
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
}

.btn-upload-modal {
    background: var(--gold);
    color: var(--white);
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    white-space: nowrap;
    margin-top: 0.5rem;
}

.btn-upload-modal:hover {
    background: #B8941F;
    transform: translateY(-1px);
}

.expiry-info {
    color: var(--gray-600);
    font-size: 0.7rem;
    margin-top: 0.25rem;
}

/* Services Card Specific */
.services-count {
    text-align: center;
    margin-bottom: 1rem;
}

.count-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 0.25rem;
}

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

.services-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.service-preview-tag {
    background: var(--gold);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-preview-tag.more {
    background: var(--gray-400);
}

/* Areas Card Specific */
.coverage-stats-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.coverage-stat-summary {
    text-align: center;
    padding: 1rem;
    background: var(--light-gold);
    border-radius: 12px;
    border: 2px solid var(--gold);
}

.stat-summary-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 0.25rem;
}

.stat-summary-label {
    font-size: 0.85rem;
    color: var(--gray-600);
    font-weight: 600;
}

.areas-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.area-preview-tag {
    background: var(--deep-blue);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.area-preview-tag.more {
    background: var(--gray-400);
}

/* Documents Card Specific */
.documents-progress-summary {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.docs-progress-circle {
    flex-shrink: 0;
}

.progress-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 6px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    position: relative;
}

.progress-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--deep-blue);
}

.docs-progress-details h5 {
    color: var(--deep-blue);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.docs-status {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

.docs-status.complete {
    color: var(--success);
}

.docs-status.incomplete {
    color: var(--warning);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 2rem 1rem;
}

.empty-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.empty-state h5 {
    color: var(--deep-blue);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.empty-state p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Dashboard Header */
.dashboard-header {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-title h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

.dashboard-title p {
    color: var(--gray-600);
    font-size: 1.1rem;
    margin: 0;
}

/* Quick Actions */
.quick-actions {
    margin-bottom: 2rem;
}

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

.actions-header h2 {
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

.actions-header p {
    color: var(--gray-600);
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.action-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-top: 4px solid var(--gold);
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.action-card .action-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
    color: var(--deep-blue);
}

.action-card h3 {
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

.action-card p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.action-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--gray-200);
    color: var(--gray-800);
}

.action-badge.urgent {
    background: var(--error);
    color: var(--white);
    animation: pulse 2s infinite;
}

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

/* Verification Indicators Styles */
.verification-indicators {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.verification-item {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: fit-content;
}

.verification-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.verification-item.expired {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    animation: pulse-error 2s infinite;
}

.verification-item.expiring-soon {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.4);
    animation: pulse-warning 2s infinite;
}

@keyframes pulse-error {
    0% { background: rgba(239, 68, 68, 0.2); }
    50% { background: rgba(239, 68, 68, 0.3); }
    100% { background: rgba(239, 68, 68, 0.2); }
}

@keyframes pulse-warning {
    0% { background: rgba(245, 158, 11, 0.2); }
    50% { background: rgba(245, 158, 11, 0.3); }
    100% { background: rgba(245, 158, 11, 0.2); }
}

.verification-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.verification-icon.verified {
    background: var(--success);
    box-shadow: 0 0 8px rgba(22, 163, 74, 0.3);
}

.verification-icon.pending {
    background: var(--warning);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.3);
    animation: pulse-pending 2s infinite;
}

.verification-icon.unverified {
    background: var(--gray-400);
    box-shadow: 0 0 8px rgba(148, 163, 184, 0.3);
}

.verification-icon.expired {
    background: var(--error);
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.verification-icon.warning {
    background: var(--warning);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
    animation: pulse-pending 2s infinite;
}

@keyframes pulse-pending {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

.verification-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    align-items: flex-start;
}

.verification-label {
    color: var(--white);
    font-weight: 600;
    font-size: 0.8rem;
    white-space: nowrap;
}

.expiry-date {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.7rem;
    white-space: nowrap;
}

.expiry-date.expired {
    color: #fca5a5;
    font-weight: 600;
}

.expiry-date.expiring {
    color: #fcd34d;
    font-weight: 600;
}

/* Hero Header Section */
.hero-header {
    background: linear-gradient(135deg, var(--deep-blue) 0%, #2A3F63 100%);
    color: var(--white);
    padding: 3rem 0 2rem 0;
    border-radius: 20px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-header::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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 2rem;
}

.welcome-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.avatar-section {
    position: relative;
}

.user-avatar {
    width: 80px;
    height: 80px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

.welcome-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.highlight {
    color: var(--gold);
}

.business-name {
    font-size: 0.95rem;
    color: var(--gold);
    font-weight: 600;
    margin-top: 0.25rem;
}

/* Hero Performance Overview */
.hero-performance-overview {
    margin-top: 2rem;
}

.hero-performance-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.hero-performance-stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-performance-stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.hero-performance-stat-card .stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.hero-performance-stat-card .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.hero-performance-stat-card .stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.hero-performance-stat-card .stat-detail {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

/* Outstanding Services and Activity Sections */
.outstanding-services-section,
.recent-activity-section {
    margin-bottom: 2rem;
}

.section-header-small {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header-small h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--deep-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-count-badge,
.activity-count-badge {
    background: var(--gold);
    color: var(--white);
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.services-container,
.activity-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-card,
.activity-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover,
.activity-card:hover {
    transform: translateY(-2px);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.service-type-badge {
    background: var(--deep-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.service-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-400);
}

.service-content h4 {
    color: var(--deep-blue);
    margin-bottom: 1rem;
}

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

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

.request-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.btn-details {
    background: var(--gray-600);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-decoration: none;
}

.btn-details:hover {
    background: var(--gray-800);
    transform: translateY(-2px);
}

.btn-payment {
    background: #8B5CF6;
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
}

.btn-payment:hover {
    background: #7C3AED;
    transform: translateY(-2px);
}

.activity-card {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.activity-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    font-weight: bold;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

.activity-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.activity-status {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--gray-200);
    color: var(--gray-800);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-performance-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .profile-cards-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        max-width: 90vw;
        margin: 1rem;
    }

    .services-modal-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-performance-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .welcome-section {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .welcome-text h1 {
        font-size: 2rem;
    }

    .user-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .verification-indicators {
        gap: 0.75rem;
        flex-direction: row;
        justify-content: center;
    }
    
    .verification-item {
        padding: 0.4rem 0.6rem;
        min-width: fit-content;
        justify-content: flex-start;
    }
    
    .verification-text {
        align-items: flex-start;
    }
    
    .verification-label {
        font-size: 0.75rem;
    }
    
    .expiry-date {
        font-size: 0.65rem;
    }
    
    .verification-icon {
        width: 16px;
        height: 16px;
        font-size: 0.7rem;
    }

    .profile-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .completion-badge {
        margin: 0;
        align-self: flex-start;
    }

    .modal {
        padding: 1rem;
    }

    .modal-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-footer {
        padding: 1rem 1.5rem 1.5rem 1.5rem;
    }

    .modal-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .document-modal-item {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .document-modal-status {
        width: 100%;
    }

    .documents-progress-summary {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-performance-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .hero-performance-stat-card {
        padding: 1rem;
    }

    .hero-performance-stat-card .stat-icon {
        font-size: 1.5rem;
    }

    .hero-performance-stat-card .stat-number {
        font-size: 1.5rem;
    }

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

    .welcome-text h1 {
        font-size: 1.8rem;
    }

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

    .action-card {
        padding: 1.5rem;
    }

    .verification-indicators {
        gap: 0.5rem;
        flex-direction: column;
        align-items: center;
    }
    
    .verification-item {
        padding: 0.3rem 0.5rem;
        min-width: 180px;
        justify-content: flex-start;
    }
    
    .verification-text {
        align-items: flex-start;
    }
    
    .verification-label {
        font-size: 0.7rem;
    }
    
    .expiry-date {
        font-size: 0.6rem;
    }
    
    .verification-icon {
        width: 14px;
        height: 14px;
        font-size: 0.65rem;
    }

    .card-header {
        padding: 1rem;
    }

    .card-summary {
        padding: 1rem;
    }

    .modal-header h3 {
        font-size: 1.2rem;
    }

    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }

    .services-modal-grid {
        grid-template-columns: 1fr;
    }

    .document-modal-items {
        gap: 0.75rem;
    }

    .document-modal-item {
        padding: 0.75rem;
    }
}

/* STEP 6: Advanced debugging - highlight ALL red elements */
/* Uncomment to see every red element on the page */
/*
* {
    outline: 1px solid transparent;
}

*[style*="color: red"],
*[style*="color: #dc2626"],
*[style*="color: #ef4444"] {
    outline: 3px solid lime !important;
    outline-offset: 2px;
}
*/
