body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    min-height: 100dvh;
}


.auth-box {
    width: 500px;
    max-width: 100%;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    animation: pop 0.3s ease;
}

@keyframes pop {
    from {
        opacity: 0;
        transform: scale(.94);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.top-bar {
    height: 6px;
    background: linear-gradient(90deg, #ff7a18, #ffb347);
}

.logo-box {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    background: linear-gradient(135deg, #000000, #000000);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(255, 122, 24, 0.3);
}

.form-control:focus {
    box-shadow: none;
    border-color: #ff7a18;
}

.btn-gradient {
    background: linear-gradient(90deg, #ff7a18, #ffb347);
    color: #fff;
    border: none;
    font-weight: 600;
}

.btn-gradient:hover {
    opacity: 0.92;
}

.icon-input {
    position: relative;
}

.icon-input i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #777;
}

.panel {
    display: none;
}

.panel.active {
    display: block;
    animation: fadeIn .3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.switch-links button {
    background: none;
    border: none;
    color: #ff7a18;
    font-weight: 600;
    cursor: pointer;
}


/* =============== */
.success-glass {
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: none;
    animation: popup 0.35s ease-out;
}

@keyframes popup {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.success-icon i {
    font-size: 55px;
    color: #28a745;
    animation: popicon 0.4s ease-out;
}

@keyframes popicon {
    0% { transform: scale(0.3); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.user-info-box {
    background: #f9f9f9;
    border-left: 4px solid #28a745;
}
