/* ============================================================
   NEUMORPHISM LOGIN — Premium Soft UI (Futuristic 3D)
   ============================================================ */

* {
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background: #e8ecf3;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* === CARD (Soft Neumorphism) === */
.neu-card {
    width: 420px;
    padding: 50px 40px;
    border-radius: 25px;
    background: #e8ecf3;
    box-shadow: 
        12px 12px 24px #c5c9cf,
        -12px -12px 24px #ffffff;
    animation: fadeIn 0.5s ease;
}

/* === LOGO === */
.neu-logo {
    text-align: center;
    margin-bottom: 30px;
}

.neu-logo img {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    box-shadow:
        6px 6px 12px #c5c9cf,
        -6px -6px 12px #ffffff;
}

.neu-logo-title {
    font-size: 22px;
    margin-top: 12px;
    font-weight: 600;
    color: #2f3542;
}

/* === INPUT GROUP === */
.neu-group {
    margin-bottom: 22px;
}

.neu-input {
    width: 100%;
    padding: 15px 18px;
    border-radius: 14px;
    border: none;
    font-size: 15px;
    background: #e8ecf3;
    color: #333;
    box-shadow: inset 5px 5px 10px #c5c9cf,
                inset -5px -5px 10px #ffffff;
    outline: none;
    transition: 0.2s;
}

.neu-input:focus {
    box-shadow: inset 4px 4px 8px #c5c9cf,
                inset -4px -4px 8px #ffffff,
                0 0 0 3px rgba(52,152,219,0.25);
}

/* === BUTTON === */
.neu-btn {
    width: 100%;
    padding: 15px;
    border-radius: 14px;
    border: none;
    background: #e8ecf3;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow:
        6px 6px 12px #c5c9cf,
        -6px -6px 12px #ffffff;
    transition: all 0.2s ease;
}

.neu-btn:active {
    box-shadow:
        inset 6px 6px 12px #c5c9cf,
        inset -6px -6px 12px #ffffff;
}

/* === LINKS === */
.neu-sub {
    text-align: right;
    font-size: 14px;
    margin-bottom: 20px;
}

.neu-sub a {
    color: #2980b9;
    text-decoration: none;
}

.neu-sub a:hover {
    text-decoration: underline;
}

/* === ERROR / SUCCESS BOX === */
.error-box {
    background: #fee2e2;
    color: #c0392b;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-size: 14px;
    box-shadow:
        inset 4px 4px 8px #d8b4b4,
        inset -4px -4px 8px #fff5f5;
}

.success-box {
    background: #eafbf1;
    color: #27ae60;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-size: 14px;
    box-shadow:
        inset 4px 4px 8px #c2e7d1,
        inset -4px -4px 8px #ffffff;
}

/* === MODAL === */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(3px);
    justify-content: center;
    align-items: center;
    z-index: 99;
}

.modal-box {
    width: 360px;
    background: #e8ecf3;
    padding: 30px;
    border-radius: 22px;
    box-shadow:
        10px 10px 20px #c5c9cf,
        -10px -10px 20px #ffffff;
    text-align: center;
}

/* === MODAL BUTTON === */
.modal-btn {
    margin-top: 18px;
    width: 100%;
    padding: 12px;
    border-radius: 14px;
    background: #e8ecf3;
    border: none;
    font-weight: 600;
    box-shadow:
        6px 6px 12px #c5c9cf,
        -6px -6px 12px #ffffff;
    cursor: pointer;
}

.modal-btn:active {
    box-shadow:
        inset 6px 6px 12px #c5c9cf,
        inset -6px -6px 12px #ffffff;
}

/* === ANIMATION === */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(12px);}
    to   {opacity: 1; transform: translateY(0);}
}
