/* 🔷 TOPBAR */
.eb-settings-container {
    /* Same as #eb-settings-screen */
    position: absolute;
    inset: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100vh; /* ✅ important */
    overflow-y: auto;
    background-color: #09103f;
    background-image: url("/client/assets/images/bg/home_bg_portrait.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (orientation: landscape) {
    .eb-settings-container {
        background-image: url("/client/assets/images/bg/home_bg_landscape.jpg");
    }
}

.eb-settings-topbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: #0a2a43;
    color: white;
}

.eb-settings-topbar .back-btn {
    font-family: "Sora", sans-serif;
    background: #123d5c;
    border: none;
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    @media (max-width: 400px) {
        .eb-title {
            font-size: 16px;
        }

        .eb-settings-topbar .back-btn {
            padding: 6px 10px;
            font-size: 13px;
        }
    }
}

.eb-settings-topbar .back-btn:hover {
    background: #06325b;
    transform: translateY(-3px) scale(1.03);
}

/* 🔷 TITLE */
.eb-title {
    font-family: "Sora", sans-serif;
    flex: 1;
    text-align: center;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* 🔷 FORM */
.eb-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    align-items: center;
}

/* 🔷 ROW (for animation + layout) */
.eb-row {
    display: flex;
    justify-content: center;
    width: 100%;

    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: ebStack 0.6s ease forwards;
}

/* stagger */
.eb-row.row-1 {
    margin-top: 30px;
    animation-delay: 0.15s;
}
.eb-row.row-2 {
    animation-delay: 0.35s;
}

/* 🔷 BUTTONS */
.eb-btn {
    font-family: "Inter", sans-serif;
    padding: 18px 20px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 14px;
    border: none;
    color: white;
    cursor: pointer;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
}

/* 🎯 Hierarchy styling */
.eb-row.row-1 .eb-btn {
    width: 40%;
    background: linear-gradient(135deg, #800000, #a52a2a); /* WAEC = harder */
}

.eb-row.row-2 .eb-btn {
    width: 65%;
    background: linear-gradient(135deg, #0a2a43, #123d5c); /* CE = easier */
}

/* Hover */
.eb-btn:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

/* 🔥 STACK ANIMATION */
@keyframes ebStack {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    60% {
        opacity: 1;
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 🔷 FADE IN */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 400px) {
    .eb-title {
        font-size: 16px;
    }

    .eb-settings-topbar .back-btn {
        padding: 6px 10px;
        font-size: 13px;
    }
}
