/*!
Theme Name: SmartWebPro
Theme URI: http://underscores.me/
Author: Underscores.me
Description: SmartWebPro Custom Theme
Version: 1.0.2
License: GNU General Public License v2 or later
*/

/* =========================================
   1. VARIABLES & GLOBAL RESET
   ========================================= */
:root {
    /* Brand Colors */
    --navy: #0B0F19;
    --orange: #FF6B00;       /* Your chosen button color */
    --red-alert: #D93025;
    
    /* Neutrals & UI */
    --white: #ffffff;
    --bg-color: #F5F7FA;     /* Grey Light */
    --grey-light: #F5F7FA;   /* Alias for bg-color */
    --border: #E2E8F0;
    
    /* Text */
    --text-dark: #1A202C;
    --grey-text: #64748B;    /* Also used as --text-grey */
    --text-grey: #64748B;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--navy);
    line-height: 1.6;
    background-color: var(--white);
    scroll-behavior: smooth;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* =========================================
   2. UTILITY CLASSES
   ========================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}
.btn-primary { background-color: var(--orange); color: var(--white); }
.btn-primary:hover { background-color: #e55a00; }

.btn-outline { border: 2px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background-color: var(--navy); color: var(--white); }

/* Login Button Style (Header) */
.btn-login {
    background-color: var(--grey-light);
    color: var(--navy);
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 0.9rem;
}
.btn-login:hover { background-color: #e2e8f0; }

/* Typography */
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: 2.5rem; margin-bottom: 15px; }
p { font-size: 1.125rem; color: var(--grey-text); margin-bottom: 20px; }

/* Scarcity Bar */
.scarcity-bar {
    background-color: var(--red-alert);
    color: white;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px;
}

/* =========================================
   3. SITE NAVIGATION
   ========================================= */
nav {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
}
nav .nav-inner {
    max-width: 1140px !important;    /* Force limit on width */
    margin-left: auto !important;    /* Force centering */
    margin-right: auto !important;   /* Force centering */
    width: 92% !important;           /* Force safe margins on mobile */
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-links { display: flex; gap: 30px; }
.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--navy);
}
.nav-links a:hover { color: var(--orange); }
.nav-actions { display: flex; gap: 15px; align-items: center; }

/* Mobile Nav */
@media (max-width: 768px) {
    .nav-links { display: none; }
}

/* =========================================
   4. MARKETING PAGES (Hero, Pricing, etc)
   ========================================= */
/* Hero Section */
.hero {
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}
.hero-text { flex: 1; }
.hero-visual {
    flex: 1;
    background-color: var(--grey-light);
    border-radius: 12px;
    padding: 40px;
    position: relative;
}

/* Mockup Graphic */
.mockup-browser { background: white; border-radius: 8px; overflow: hidden; border: 1px solid #ddd; }
.mockup-header { background: #eee; padding: 10px; display: flex; gap: 5px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #ccc; }
.mockup-body { padding: 30px; text-align: center; }
.progress-graphic { display: flex; justify-content: space-between; margin-bottom: 20px; font-weight: bold; font-size: 0.8rem; }
.progress-bar { height: 6px; background: #eee; border-radius: 3px; position: relative; }
.progress-fill { width: 80%; height: 100%; background: var(--orange); border-radius: 3px; }

/* Sections */
.trust-bar {
    background-color: var(--grey-light);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.trust-items { display: flex; justify-content: center; gap: 40px; font-weight: 600; color: var(--navy); }

.design-section { padding: 100px 0; text-align: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; text-align: left; }
.card { border: 1px solid #eee; border-radius: 12px; overflow: hidden; transition: 0.2s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.card-img { height: 200px; background-color: #ddd; display: flex; align-items: center; justify-content: center; color: #777; font-weight: bold; }
.card-body { padding: 25px; }
.tag { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--orange); font-weight: 700; }

.pricing-section { background-color: var(--navy); color: white; padding: 80px 0; text-align: center; }
.pricing-box { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); max-width: 600px; margin: 0 auto; padding: 40px; border-radius: 16px; }
.price-large { font-size: 4rem; font-weight: 800; color: var(--orange); line-height: 1; }
.price-sub { opacity: 0.7; margin-bottom: 30px; display: block;}
.checklist { text-align: left; max-width: 400px; margin: 0 auto 30px auto; }
.checklist li { margin-bottom: 10px; display: flex; gap: 10px; }

.faq-section { padding: 80px 0; background-color: #fff; }
.faq-grid { max-width: 800px; margin: 40px auto; }
.faq-item { border-bottom: 1px solid #eee; padding: 20px 0; }
.faq-question { font-weight: 700; font-size: 1.1rem; cursor: pointer; display: flex; justify-content: space-between; }
.faq-answer { margin-top: 10px; color: var(--grey-text); font-size: 1rem; }

footer { background-color: var(--grey-light); padding: 60px 0; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { margin-bottom: 20px; font-size: 1rem; color: var(--navy); }
.footer-col ul li { margin-bottom: 10px; color: var(--grey-text); }
.footer-col ul li a:hover { color: var(--orange); }

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .hero { flex-direction: column; text-align: center; }
    .grid-3, .footer-grid { grid-template-columns: 1fr; }
    .trust-items { flex-direction: column; gap: 15px; }
}

/* =========================================
   5. BOOKING PAGE (Overlay & Cards)
   ========================================= */
.booking-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-color: var(--bg-color);
    z-index: 9999;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.booking-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}
.booking-nav .logo { font-weight: 900; font-size: 1.25rem; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.booking-nav .nav-help { font-size: 0.9rem; color: var(--text-grey); text-decoration: none; }

/* Progress Bar */
.progress-container {
    max-width: 600px;
    margin: 30px auto 10px auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 0 20px;
}
.progress-line { position: absolute; top: 12px; left: 40px; right: 40px; height: 2px; background: var(--border); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; }
.step-circle {
    width: 26px; height: 26px; background: var(--white); border: 2px solid var(--border);
    border-radius: 50%; margin: 0 auto 8px auto; display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700; color: var(--text-grey);
}
.step-label { font-size: 0.75rem; font-weight: 600; color: var(--text-grey); text-transform: uppercase; letter-spacing: 0.5px; }

/* Active State */
.step.active .step-circle { border-color: var(--orange); background: var(--orange); color: white; }
.step.active .step-label { color: var(--navy); }

/* Booking Card Container */
.booking-container { max-width: 700px; width: 100%; margin: 20px auto 60px auto; padding: 0 20px; }
.booking-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    padding: 40px;
}
.booking-card h1 { font-size: 1.75rem; color: var(--navy); margin-bottom: 10px; font-weight: 800; }

/* Compact Booking Styles */
.booking-card p.subtitle { font-size: 0.9rem; color: #64748B; margin-bottom: 25px; line-height: 1.4; }
.booking-card .ff-el-input--label { font-size: 0.9rem !important; margin-bottom: 4px !important; }
.booking-card .ff-el-form-control { font-size: 0.95rem !important; padding: 10px 12px !important; height: auto !important; min-height: 38px; }
.booking-card .ff_input-group-text, .booking-card .ff_payment_item { font-size: 0.95rem !important; padding: 10px 12px !important; }
.booking-card .ff-el-tc .ff_t_c, .booking-card .ff-el-tc .ff_t_c p { font-size: 0.85rem !important; line-height: 1.4; color: #64748B; margin-bottom: 0 !important; }
.booking-card .ff-el-tc .ff_t_c a { font-size: 0.85rem !important; font-weight: 600; }

@media (max-width: 600px) {
    .progress-container { display: none; }
    .booking-card { padding: 20px; }
}

/* =========================================
   6. FLUENT FORMS GLOBAL STYLES
   ========================================= */

/* General Inputs (Consolidated & Cleaned) */
.fluentform .ff-el-form-control {
    padding: 12px 14px !important;
    border: 1px solid var(--border) !important;
    border-radius: 6px !important;
    font-size: 1rem !important;
    color: var(--text-dark) !important;
    transition: all 0.2s ease;
}

/* Orange Focus Ring */
.fluentform .ff-el-form-control:focus {
    border-color: var(--orange) !important;
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.15) !important;
    outline: none;
}

/* Section Headings */
.fluentform h2, 
.fluentform .ff-el-section-title {
    font-size: 0.9rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-grey);
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
    margin: 40px 0 25px 0 !important;
    font-weight: 700;
    line-height: 1.4;
}

/* Submit Button - ORANGE (Unified) */
.fluentform .ff-btn-submit {
    width: 100%;
    background-color: var(--orange) !important; 
    color: white !important;
    padding: 18px !important;
    border-radius: 6px !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s;
}
.fluentform .ff-btn-submit:hover {
    background-color: #e55a00 !important;
    transform: translateY(-2px);
}

/* 2-Column Grid Layout (Add class 'tech-grid' or 'checkbox-grid') */
.fluentform .tech-grid .ff-el-input--content,
.fluentform .checkbox-grid .ff-el-input--content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Box Style for Radios/Checkboxes */
.fluentform .tech-grid .ff-el-form-check-label,
.fluentform .checkbox-grid .ff-el-form-check-label {
    background: #FFFFFF;
    border: 1px solid var(--border);
    padding: 12px 15px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 100%;
    width: 100%;
    margin: 0 !important;
    font-weight: 500;
}
.fluentform .tech-grid .ff-el-form-check-label:hover,
.fluentform .checkbox-grid .ff-el-form-check-label:hover {
    border-color: var(--orange);
    background: #FFFAF5;
}
.fluentform .tech-grid input:checked + span,
.fluentform .checkbox-grid input:checked + span {
    color: var(--navy);
    font-weight: 700;
}

/* Conditional Industry Row */
@media (min-width: 768px) {
    .fluentform .ff-el-group { transition: all 0.3s ease; }
    .fluentform .industry-col-left { width: 49%; float: left; margin-right: 2%; clear: left; }
    .fluentform .industry-col-right { width: 49%; float: left; margin-top: 0 !important; }
    .fluentform .industry-col-right::after { content: ""; display: table; clear: both; }
}

/* Sliders */
.slider-side-label { font-size: 0.8rem; font-weight: 700; color: var(--text-grey); width: 100%; }
.text-right { text-align: right; }
.fluentform input[type="range"] {
    -webkit-appearance: none; width: 100%; height: 6px; background: var(--border); border-radius: 5px; outline: none; margin: 0;
}
.fluentform input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
    background: var(--navy); border: 2px solid white; box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    cursor: pointer; margin-top: -8px;
}

/* File Upload Zone */
.fluentform .ff_file_upload_holder {
    border: 2px dashed var(--border) !important; background: #FAFAFA; border-radius: 8px;
    padding: 30px !important; text-align: center; color: var(--text-grey); transition: 0.2s; display: block; width: 100%;
}
.fluentform .ff_file_upload_holder:hover {
    border-color: var(--orange) !important; background: #FFF5EB; color: var(--orange);
}
.fluentform .ff_upload_btn {
    background: transparent !important; color: inherit !important; border: none !important;
    font-weight: 700 !important; text-decoration: underline; padding: 0 !important;
}

/* Radio Card Group (Robust Fix) */
.radio-card-group .ff-el-input--content { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.radio-card-group .ff-el-form-check-label {
    display: flex !important; align-items: center; padding: 20px !important;
    border: 1px solid var(--border); border-radius: 8px; background: #FFFFFF;
    cursor: pointer; transition: 0.2s all ease; width: 100%; margin: 0 !important;
    position: relative; font-weight: 600; color: var(--text-dark);
}
.radio-card-group input[type="radio"] { opacity: 0; position: absolute; width: 0; height: 0; }
.radio-card-group .ff-el-form-check-label::before {
    content: ''; display: block; width: 20px; height: 20px; border: 2px solid #CBD5E0;
    border-radius: 50%; margin-right: 15px; background: white; flex-shrink: 0; transition: 0.2s all;
}
/* Checked State */
.radio-card-group .ff-el-form-check-label:has(input:checked) { border-color: var(--orange); background-color: #FFF5EB; }
.radio-card-group .ff-el-form-check-label:has(input:checked)::before {
    border-color: var(--orange); background-color: var(--orange); box-shadow: inset 0 0 0 4px #FFF5EB; 
}

@media (max-width: 600px) {
    .fluentform .tech-grid .ff-el-input--content,
    .fluentform .checkbox-grid .ff-el-input--content,
    .radio-card-group .ff-el-input--content { grid-template-columns: 1fr; }
}

/* =========================================
   7. PROJECT BRIEF & AI TIPS
   ========================================= */
.project-brief-wrapper { background-color: var(--bg-color); min-height: 100vh; padding-bottom: 40px; }
.brief-nav { background: #FFFFFF; border-bottom: 1px solid var(--border); width: 100%; display: flex; justify-content: center; }
.brief-nav-inner { width: 100%; max-width: 800px; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; }
.brief-nav .logo { font-weight: 900; font-size: 1.25rem; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.brief-nav .nav-help { font-size: 0.9rem; color: var(--text-grey); text-decoration: none; font-weight: 500; }
.brief-nav .nav-help:hover { color: var(--orange); }

.brief-container { max-width: 800px; margin: 20px auto 60px auto; padding: 0 20px; }
.brief-card { background: #FFFFFF; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 4px 20px rgba(0,0,0,0.03); padding: 50px; }
.brief-card h1 { font-size: 2rem; color: var(--navy); margin-bottom: 10px; font-weight: 800; }

.ai-tip {
    background: #EBF8FF; border-left: 4px solid #3182CE; padding: 15px; border-radius: 4px;
    margin-bottom: 20px; font-size: 0.9rem; color: #2C5282; line-height: 1.5;
}

/* Progress Bar (Brief Version) */
.brief-progress-container { max-width: 600px; margin: 30px auto 10px auto; display: flex; justify-content: space-between; position: relative; padding: 0 20px; width: 100%; }
.brief-progress-line { position: absolute; top: 12px; left: 40px; right: 40px; height: 2px; background: var(--border); z-index: 0; }
.brief-step { position: relative; z-index: 1; text-align: center; }
.brief-step-circle {
    width: 26px; height: 26px; background: #FFFFFF; border: 2px solid var(--border);
    border-radius: 50%; margin: 0 auto 8px auto; display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700; color: var(--text-grey);
}
.brief-step-label { font-size: 0.75rem; font-weight: 600; color: var(--text-grey); text-transform: uppercase; letter-spacing: 0.5px; }
.brief-step.done .brief-step-circle { background: var(--navy); border-color: var(--navy); color: white; }
.brief-step.active .brief-step-circle { border-color: var(--orange); background: var(--orange); color: white; }
.brief-step.active .brief-step-label { color: var(--navy); }

/* =========================================
   8. LOGIN PAGE
   ========================================= */
.custom-login-wrapper { display: flex; min-height: 100vh; width: 100vw; background: #ffffff; }
.login-section { width: 40%; background: white; display: flex; flex-direction: column; justify-content: center; padding: 0 80px; position: relative; }
.login-section .logo-area { position: absolute; top: 40px; left: 80px; font-weight: 800; font-size: 1.2rem; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.login-header h1 { font-size: 2rem; color: var(--navy); margin-bottom: 10px; line-height: 1.2; }
.login-header p { color: #718096; margin-bottom: 40px; }

.login-form-group { margin-bottom: 20px; }
.login-label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; color: var(--text-dark); }
.login-input {
    width: 100%; padding: 12px 15px; border: 1px solid var(--border); border-radius: 6px;
    font-size: 1rem; outline: none; transition: 0.2s;
}
.login-input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15); }

.form-actions { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; font-size: 0.9rem; }
.login-forgot-pass { color: var(--orange); text-decoration: none; font-weight: 500; }
.btn-login-submit {
    width: 100%; background-color: var(--navy); color: white; padding: 14px; border: none;
    border-radius: 6px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: 0.2s;
}
.btn-login-submit:hover { background-color: #1a2236; transform: translateY(-1px); }

.brand-section {
    width: 60%; background-color: var(--navy); background-image: linear-gradient(135deg, #0B0F19 0%, #162238 100%);
    display: flex; flex-direction: column; justify-content: center; align-items: center; color: white; padding: 60px; text-align: center;
}
.brand-quote { font-size: 2rem; font-weight: 700; line-height: 1.3; margin-bottom: 20px; }
.brand-author { opacity: 0.7; font-size: 1rem; }
.mini-timeline { display: flex; gap: 15px; margin-bottom: 40px; opacity: 0.5; justify-content: center; }
.mini-dot { width: 10px; height: 10px; background: white; border-radius: 50%; }
.mini-dot.active { background: var(--orange); transform: scale(1.3); }

@media (max-width: 900px) {
    .brand-section { display: none; }
    .login-section { width: 100%; padding: 40px 30px; }
    .login-section .logo-area { position: static; margin-bottom: 40px; }
}

/* =========================================
   9. SUCCESS PAGE & E-SIGNATURE
   ========================================= */
.success-wrapper { max-width: 800px; margin: 60px auto; padding: 0 20px; text-align: center; }
.success-card { background: #FFFFFF; border: 1px solid var(--border); border-radius: 12px; padding: 60px 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.success-card h1 { font-size: 2.5rem; color: var(--navy); margin-bottom: 15px; font-weight: 800; }
.success-card h2 {
    font-size: 1.25rem; color: #059669; margin-bottom: 30px; font-weight: 600;
    background: #ECFDF5; display: inline-block; padding: 8px 20px; border-radius: 30px;
}
.next-steps-box { text-align: left; background: #F8FAFC; border: 1px solid var(--border); border-radius: 8px; padding: 30px; margin: 30px auto; max-width: 600px; }
.next-steps-title { font-size: 0.9rem; text-transform: uppercase; color: #94A3B8; letter-spacing: 1px; font-weight: 700; margin-bottom: 15px; display: block; }
.success-list { list-style: none; padding: 0; margin: 0; counter-reset: step-counter; }
.success-list li { position: relative; padding-left: 35px; margin-bottom: 15px; color: var(--navy); font-size: 1rem; }
.success-list li::before {
    content: counter(step-counter); counter-increment: step-counter; position: absolute; left: 0; top: 0;
    width: 24px; height: 24px; background: var(--navy); color: white; border-radius: 50%; text-align: center; line-height: 24px; font-size: 0.8rem; font-weight: 700;
}
.btn-portal {
    background-color: var(--orange); color: white; padding: 16px 32px; border-radius: 6px; font-weight: 700;
    text-decoration: none; display: inline-block; transition: 0.2s; box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}
.btn-portal:hover { background-color: #E65100; transform: translateY(-2px); }
.success-nav { display: flex; justify-content: center; padding: 20px 0; margin-bottom: 20px; }
.success-nav .logo { font-weight: 900; font-size: 1.25rem; color: var(--navy); display: flex; align-items: center; gap: 8px; }

/* E-Signature Prelude */
.esign-instructions { background-color: #F8FAFC; border: 1px solid var(--border); border-radius: 8px; padding: 25px; margin-bottom: 30px; }
.esign-instructions h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 15px; display: flex; align-items: center; gap: 8px; }
.esign-list { list-style: none; padding: 0; margin: 0; }
.esign-list li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 0.95rem; color: #475569; }
.esign-list li::before { content: '👉'; position: absolute; left: 0; top: 0; }
.esign-list li strong { color: var(--navy); font-weight: 600; }

/* =========================================
   10. CLIENT PORTAL DASHBOARD
   ========================================= */
.portal-status-page { width: 100%; min-height: 100vh; background-color: var(--bg-color); display: flex; flex-direction: column; }
.portal-top-nav { width: 100%; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: center; }
.portal-nav-inner { width: 100%; max-width: 1100px; height: 70px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }
.portal-nav-inner .logo { font-weight: 800; font-size: 1.2rem; color: white; display: flex; align-items: center; gap: 8px; }
.portal-nav-inner .nav-right { display: flex; align-items: center; gap: 20px; font-size: 0.9rem; }
.portal-nav-inner a { color: rgba(255,255,255,0.8); text-decoration: none; transition: 0.2s; }
.portal-nav-inner a:hover { color: var(--orange); }
.portal-nav-inner .btn-logout { border: 1px solid rgba(255,255,255,0.3); padding: 6px 14px; border-radius: 4px; }
.portal-container { width: 100%; max-width: 1100px; margin: 40px auto; padding: 0 20px; flex-grow: 1; }

/* --- PORTAL TIMELINE & CARD STYLES --- */

/* 1. Header Area */
.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
.status-badge {
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.bg-red { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }
.bg-blue { background: #EBF8FF; color: #2C5282; border: 1px solid #BEE3F8; }
.bg-green { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }

/* 2. Timeline Strip */
.timeline-strip {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 50px;
    padding: 0 10px;
}
/* The Line Behind */
.timeline-strip::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: #E2E8F0;
    z-index: 0;
}

.t-step {
    position: relative;
    z-index: 1;
    text-align: center;
    background: var(--bg-color); /* Matches page bg to hide line behind label */
    padding: 0 10px;
}

.t-circle {
    width: 28px;
    height: 28px;
    background: #FFFFFF;
    border: 3px solid #E2E8F0;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    transition: all 0.3s ease;
}

.t-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #94A3B8;
    text-transform: uppercase;
}

/* Active State (Current Step) */
.t-step.active .t-circle {
    border-color: var(--orange);
    background: var(--orange);
    box-shadow: 0 0 0 4px #FFF5EB;
    transform: scale(1.1);
}
.t-step.active .t-label { color: var(--navy); font-weight: 800; }

/* Done State (Past Steps) */
.t-step.done .t-circle {
    background: var(--navy);
    border-color: var(--navy);
}
.t-step.done .t-label { color: var(--navy); }

/* 3. Hero Card */
.hero-card {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    padding: 50px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    margin-bottom: 40px;
}
.hero-card h2 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 15px;
}
.btn-hero {
    display: inline-block;
    background-color: var(--orange);
    color: white;
    padding: 15px 30px;
    border-radius: 6px;
    font-weight: 700;
    margin-top: 20px;
    text-decoration: none;
    transition: 0.2s;
}
.btn-hero:hover {
    background-color: #E65100;
    transform: translateY(-2px);
    color: white;
}

/* Mobile Fix */
@media (max-width: 600px) {
    .project-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .timeline-strip { overflow-x: auto; padding-bottom: 10px; }
    .t-label { font-size: 0.7rem; }
}




/* =========================================
   11. PATCHES & AGREEMENT IFRAME
   ========================================= */

/* Fix Double Underline on Form Sections */
.booking-card .ff-el-section-title h2,
.brief-card .ff-el-section-title h2 {
    border-bottom: none !important; padding-bottom: 0 !important;
    margin-bottom: 0 !important; margin-top: 0 !important;
}

/* Agreement Popup Fix */
#popmake-2154 .pum-content { padding: 0 30px !important; background-color: #FFFFFF !important; }
#popmake-2154 iframe { width: 100% !important; border-radius: 4px; }
@media (max-width: 600px) { #popmake-2154 .pum-content { padding: 0 15px !important; } }

/* Sample Agreement Page Inside Iframe */
body.page-id-2154, 
body.slug-sample-agreement,
body.page-sample-agreement { 
    background-color: #FFFFFF !important; padding: 40px !important; height: auto !important;
}