/* ============================
   EventForm — Auth Layout
   ============================ */

/* Palette + base tokens */
:root {
    --ef-orange: #F26945;
    --ef-orange-soft: rgba(242, 105, 69, 0.12);
    --ef-dark: #2F343A;
    --ef-dark-soft: #4B5259;
    --ef-bg: #F4F5F7;
    --ef-white: #FFFFFF;
    --ef-border: #D5D7DC;
    --ef-radius-lg: 18px;
    --ef-radius-md: 10px;
    --ef-radius-sm: 6px;
    --ef-shadow-soft: 0 18px 45px rgba(15, 18, 26, 0.14);
    --ef-shadow-subtle: 0 10px 24px rgba(15, 18, 26, 0.10);
    --ef-transition-fast: 160ms ease-out;
    --ef-font-sans: system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans",
        "Liberation Sans", sans-serif;
}
/* =============================================
   EventForm Preview Nav — Consistent with brand
   ============================================= */

.ef-nav-preview {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 2rem;
    padding: 16px 18px;
    border-radius: 18px;
    background: #10131A;
    border: 1px solid #272B33;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.ef-nav-item {
    flex: 1;
    text-align: center;
    color: #F7F8FA;
    font-size: 0.82rem;
    font-weight: 500;
    opacity: 0.85;
    padding: 12px 6px;
    border-radius: 12px;
    transition: all 160ms ease-out;
    cursor: default; /* Not clickable yet */
}

.ef-nav-item:hover {
    background: rgba(242, 105, 69, 0.10);
    opacity: 1;
}

.ef-nav-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 6px;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45));
    opacity: 0.9;
}

/* Optional: slight orange glow on hover */
.ef-nav-item:hover .ef-nav-icon {
    filter: drop-shadow(0 0 6px rgba(242, 105, 69, 0.55));
}
/* Page background */
.ef-auth-body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--ef-font-sans);
    background: radial-gradient(circle at top left, #ffffff 0, #eef1f6 40%, #e2e6ee 100%);
    color: var(--ef-dark);
}

/* Two-column layout (stacks on mobile) */
.ef-auth-layout {
    display: flex;
    min-height: 100vh;
}

/* Left brand panel */
.ef-auth-panel {
    flex: 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.ef-auth-panel-inner {
    max-width: 420px;
}

.ef-auth-logo {
    display: block;
    width: 260px;
    max-width: 100%;
    margin-bottom: 2.5rem;
}

.ef-auth-heading {
    margin: 0 0 0.75rem;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ef-auth-subtext {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.6;
    color: var(--ef-dark-soft);
}

/* Right login card */
.ef-auth-card {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 3.5rem;
    background: linear-gradient(145deg, #ffffff 0, #f8fafc 50%, #eef2f9 100%);
}

.ef-auth-card-inner {
    width: 100%;
    max-width: 420px;
    background: var(--ef-white);
    border-radius: var(--ef-radius-lg);
    box-shadow: var(--ef-shadow-soft);
    padding: 2.5rem 2.75rem 2.25rem;
}

/* Card header */
.ef-auth-card-header {
    text-align: left;
    margin-bottom: 1.75rem;
}

.ef-auth-logo-small {
    width: 48px;
    height: auto;
    display: block;
    margin-bottom: 1.25rem;
}

.ef-auth-card-header h2 {
    margin: 0 0 0.35rem;
    font-size: 1.7rem;
    font-weight: 700;
}

.ef-auth-card-subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: var(--ef-dark-soft);
}

/* Error alert (can be populated by PHP) */
.ef-auth-alert {
    margin-bottom: 1.3rem;
    padding: 0.9rem 1rem;
    border-radius: var(--ef-radius-md);
    background: #FDF2F2;
    border: 1px solid #FCA5A5;
    color: #B91C1C;
    font-size: 0.9rem;
}

/* Form fields */
.ef-auth-form {
    display: grid;
    gap: 1.1rem;
    margin-bottom: 1.6rem;
}

.ef-field label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ef-dark-soft);
}

.ef-field input[type="email"],
.ef-field input[type="password"] {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border-radius: var(--ef-radius-md);
    border: 1px solid var(--ef-border);
    font: 0.98rem var(--ef-font-sans);
    color: var(--ef-dark);
    background-color: var(--ef-white);
    box-sizing: border-box;
    transition:
        border-color var(--ef-transition-fast),
        box-shadow var(--ef-transition-fast),
        background-color var(--ef-transition-fast);
}

.ef-field input:focus {
    outline: none;
    border-color: var(--ef-orange);
    box-shadow: 0 0 0 3px var(--ef-orange-soft);
}

/* Remember + forgot row */
.ef-auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.25rem;
    margin-bottom: 0.4rem;
    gap: 0.75rem;
}

.ef-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--ef-dark-soft);
    cursor: pointer;
}

.ef-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid var(--ef-border);
}

/* Buttons & links */
.ef-btn-primary {
    width: 100%;
    border: none;
    cursor: pointer;
    padding: 0.8rem 1rem;
    border-radius: var(--ef-radius-md);
    background: var(--ef-orange);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: var(--ef-shadow-subtle);
    transition:
        background var(--ef-transition-fast),
        box-shadow var(--ef-transition-fast),
        transform var(--ef-transition-fast);
}

.ef-btn-primary:hover {
    background: #e35d39;
    box-shadow: 0 14px 32px rgba(15, 18, 26, 0.18);
    transform: translateY(-1px);
}

.ef-btn-primary:active {
    background: #d55332;
    transform: translateY(0);
    box-shadow: var(--ef-shadow-subtle);
}

.ef-link-muted,
.ef-link-accent {
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--ef-transition-fast);
}

.ef-link-muted {
    color: var(--ef-dark-soft);
}

.ef-link-muted:hover {
    color: var(--ef-dark);
}

.ef-link-accent {
    color: var(--ef-orange);
    font-weight: 600;
}

.ef-link-accent:hover {
    color: #e35d39;
}

/* Footer text */
.ef-auth-footer {
    border-top: 1px solid #eef0f4;
    margin-top: 1.3rem;
    padding-top: 1.1rem;
    font-size: 0.9rem;
    color: var(--ef-dark-soft);
}
/* ========= Under Construction Navigation Bar ========= */

.ef-uc-nav {
    margin-top: 1.8rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.ef-uc-nav-item {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    background: #2F343A; /* your dark grey */
    text-decoration: none;
    color: #F7F8FA;
    font-size: 0.8rem;
    min-width: 84px;
    transition: background 0.15s ease-out, transform 0.15s ease-out;
}

.ef-uc-nav-item i {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: #F7F8FA;
}

.ef-uc-nav-item:hover {
    background: #3C434A;
    transform: translateY(-2px);
}

/* ========= UC cone icon styling ========= */

.ef-uc-icon {
    font-size: 2.6rem;
    color: #F26945; /* EventForm orange */
    margin-bottom: 0.8rem;
}
/* ============================
   Responsive tweaks
   ============================ */
@media (max-width: 900px) {
    .ef-auth-layout {
        flex-direction: column;
    }

    .ef-auth-panel {
        padding: 2rem 1.75rem 1rem;
        text-align: center;
    }

    .ef-auth-panel-inner {
        max-width: 100%;
    }

    .ef-auth-heading {
        font-size: 2rem;
    }

    .ef-auth-card {
        padding: 1.75rem 1.5rem 2.5rem;
    }

    .ef-auth-card-inner {
        box-shadow: none;
        border-radius: 16px 16px 0 0;
        max-width: 480px;
    }
}