/* =========================
   RIWAYA LOGIN - GLASS STYLE
   PREMIUM + SOFT + MODERN
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;

    /* soft luxury gradient */
    background: linear-gradient(135deg, #dbeafe, #fef3c7);

    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* ================= GLASS CARD ================= */
.glass {
    width: 380px;

    padding: 30px;

    border-radius: 22px;

    background: rgba(255, 255, 255, 0.35);

    backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, 0.4);

    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);

    text-align: center;

    animation: fadeIn 0.6s ease-in-out;
}

/* title */
.glass h2 {
    margin-bottom: 20px;
    font-size: 22px;
    color: #1d4ed8;
}

/* ================= INPUTS ================= */
.glass input {
    width: 100%;

    padding: 14px;

    margin-bottom: 12px;

    border-radius: 14px;

    border: 1px solid rgba(255,255,255,0.6);

    background: rgba(255,255,255,0.6);

    font-size: 14px;

    outline: none;

    transition: 0.3s;
}

/* focus effect */
.glass input:focus {
    border-color: #3b82f6;
    background: rgba(255,255,255,0.9);
    transform: scale(1.02);
}

/* ================= BUTTON ================= */
.glass button {
    width: 100%;

    padding: 14px;

    border: none;

    border-radius: 14px;

    background: linear-gradient(135deg, #2563eb, #1d4ed8);

    color: white;

    font-size: 16px;

    cursor: pointer;

    transition: 0.3s;
}

.glass button:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(37,99,235,0.4);
}

/* ================= BACK LINK ================= */
.back-btn {
    display: block;

    margin-top: 12px;

    padding: 12px;

    border-radius: 14px;

    text-decoration: none;

    background: rgba(255,255,255,0.6);

    color: #333;

    transition: 0.3s;
}

.back-btn:hover {
    background: white;
    transform: scale(1.02);
}

/* ================= ERROR TEXT ================= */
.glass p {
    font-size: 14px;
}

/* ================= ANIMATION ================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= MOBILE ================= */
@media (max-width: 480px) {

    .glass {
        width: 92%;
        padding: 25px;
    }

    .glass h2 {
        font-size: 20px;
    }

    .glass input,
    .glass button {
        font-size: 15px;
    }
}