/* --- ACTUAL DRAFT UI LOOK AND FEEL --- */
:root {
    /* Premium Color Palette ported from DraftUI */
    --primary: #CE0E2D;
    --primary-hover: #AB0C25;
    --surface: #ffffff;
    --background: #f0f4f8;
    --text-main: #0f172a;
    --text-secondary: #64748b;
    --border: #e2e8f0;

    /* Effects */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.2);

    --radius-md: 8px;
    --radius-lg: 24px;
}

/* Sticky Footer (White bar at bottom) */
.sticky-submit-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.sticky-submit-footer .submit-container {
    width: 100%;
    max-width: 1400px;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.footer-center {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.back-btn {
    font-family: 'Franklin Gothic Demi', 'Franklin Gothic Medium', 'Franklin Gothic', sans-serif !important;
    padding: 0.85rem 1rem !important;
    width: 150px !important;
    background: transparent !important;
    color: var(--text-secondary) !important;
    border: 2px solid var(--border) !important;
    border-radius: var(--radius-md) !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.6rem !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
}

.back-btn:hover {
    border-color: var(--text-secondary) !important;
    color: var(--text-main) !important;
    background: #f8fafc !important;
    transform: translateX(-4px) !important;
}

/* Headings and Main Labels */
h1,
h2,
h3,
h4,
h5,
h6,
.selection-cta,
.title,
.main-title,
.user-greeting,
th {
    font-family: 'Franklin Gothic Heavy', 'Franklin Gothic Medium', 'Franklin Gothic', sans-serif !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
}

.landing-page-ui {
    font-family: 'Franklin Gothic Book', 'Franklin Gothic', Arial, sans-serif !important;
    background: url('../../img/Background.png') no-repeat center center fixed !important;
    background-size: cover !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #0f172a !important;
}

.landing-page-ui .header {
    background: #CE0E2D !important;
    /* Draft UI exact Red */
    padding: 0.3rem 2rem !important;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.landing-page-ui .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.landing-page-ui .logo-img {
    height: 40px !important;
    width: auto !important;
    object-fit: contain;
}

.landing-page-ui .landing-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6rem 1rem 6rem !important;
}

.landing-page-ui .landing-card {
    background: #ffffff !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    padding: 3rem 2.5rem !important;
    width: 100%;
    max-width: 520px;
    border: 1px solid #e2e8f0 !important;
    border-top: 4px solid #CE0E2D !important;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.landing-page-ui .landing-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15) !important;
}

.landing-page-ui h1 {
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    color: #0f172a !important;
    text-transform: uppercase !important;
    font-family: 'Franklin Gothic Heavy', 'Franklin Gothic Medium', sans-serif !important;
}

/* Global Button & Input Typography */
button, 
select, 
input, 
.submit-btn, 
.btn-submit, 
.btn-complete,
.back-btn {
    font-family: 'Franklin Gothic Demi', 'Franklin Gothic Medium', 'Franklin Gothic', sans-serif !important;
    text-transform: uppercase !important;
}

.landing-page-ui .intro-text {
    color: #64748b !important;
    margin-bottom: 2rem !important;
    line-height: 1.6 !important;
}

.landing-page-ui .form-group {
    text-align: left;
    margin-bottom: 1.2rem !important;
    transition: transform 0.2s ease;
}

.landing-page-ui .form-group:focus-within {
    transform: translateX(4px);
}

.landing-page-ui .form-group label {
    display: block;
    margin-bottom: 0.5rem !important;
    font-weight: 500 !important;
    color: #0f172a !important;
    font-size: 0.9rem !important;
}

.landing-page-ui .form-group input {
    width: 100%;
    padding: 0.9rem 1rem !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    font-size: 1rem !important;
    color: #0f172a !important;
    transition: all 0.2s ease !important;
}

.landing-page-ui .form-group input:focus {
    outline: none !important;
    border-color: #CE0E2D !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(206, 14, 45, 0.1) !important;
}

.landing-page-ui .btn-primary {
    font-family: 'Franklin Gothic Demi', 'Franklin Gothic Medium', sans-serif !important;
    width: 100%;
    padding: 1rem !important;
    background: #CE0E2D !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    cursor: pointer;
    margin-top: 1.5rem !important;
    transition: all 0.2s ease !important;
    font-size: 1.1rem !important;
    box-shadow: 0 4px 6px -1px rgba(206, 14, 45, 0.2) !important;
}

.landing-page-ui .btn-primary:hover {
    background: #AB0C25 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 20px -5px rgba(206, 14, 45, 0.4) !important;
}

.landing-page-ui .btn-primary:active {
    transform: translateY(-1px) !important;
}

/* Global Nav Links exported from style.css */
.back-nav {
    width: 100%;
    max-width: 1100px;
    margin-bottom: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

/* Footer exported from style.css */
.footer {
    text-align: center;
    margin: 2rem 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer a {
    color: var(--text-secondary);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer a:hover {
    opacity: 1;
}

/* Global Container exported from style.css */
.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 6rem 1rem 6rem;
}

/* User Greeting & Header Actions */
.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-greeting {
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.logout-btn {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.logout-btn:active {
    transform: translateY(0);
}

/* Step Indicators exported from style.css */
.step-indicator {
    display: flex;
    gap: 4rem;
    margin-bottom: 2.5rem;
    width: 100%;
    max-width: 1400px;
    position: relative;
    padding-left: 2.5rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 2;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -3rem;
    top: 50%;
    width: 2rem;
    height: 2px;
    background: #e2e8f0;
    transform: translateY(-50%);
}

.step i {
    width: 32px;
    height: 32px;
    background: #e2e8f0;
    border: 2px solid transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-style: normal;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step.active {
    color: var(--primary);
}

.step.active i {
    background: white;
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(206, 14, 45, 0.1);
}

.step i .fas.fa-check {
    font-size: 0.75rem;
}