/* =========================
   BODY BACKGROUND
========================= */
body {
    background: radial-gradient(circle at top, #1e293b, #020617);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', sans-serif;
}


/* =========================
   CARD (LOGIN + REGISTER)
========================= */
.login-card,
.card-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    border-radius: 20px;
    padding: 40px 35px;
    width: 100%;
    max-width: 420px;
    color: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    animation: fadeIn 0.6s ease;
}


/* =========================
   LOGO
========================= */
.logo {
    text-align: center;
    margin-bottom: 25px;
}

.logo img {
    width: 100%;
    border-radius: 50%;
    /* margin-bottom: 10px; */
    max-width: 200px;
}

.logo h4 {
    color: #fff;
    font-weight: 600;
}

.logo p {
    color: #cbd5f5;
    font-size: 13px;
}


/* =========================
   INPUT FIELDS
========================= */
.form-control {
    transition: 0.3s;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-control,
.form-control:focus {
    color: #fff !important;
}

.form-control:focus {
    background: rgba(255,255,255,0.08);
    border-color: #38bdf8;
    box-shadow: 0 0 0 1px #38bdf8;
}

.form-control:hover {
    border-color: #38bdf8;
}


/* =========================
   SELECT DROPDOWN
========================= */
select.form-control {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    cursor: pointer;
}

select.form-control option {
    background: #1e293b;
    color: #fff;
}


/* =========================
   INPUT GROUP ICON
========================= */
.input-group-text {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1);
    color: #38bdf8 !important;
}


/* =========================
   SMALL TEXT (LABELS)
========================= */
.small-text {
    font-size: 13px;
    color: #cbd5f5;
}


/* =========================
   ERROR STYLING
========================= */
.is-invalid {
    border-color: #ef4444 !important;
}

.text-danger {
    font-size: 12px;
}

.alert {
    font-size: 13px;
    border-radius: 8px;
}


/* =========================
   BUTTON (LOGIN)
========================= */
.btn-login {
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    border: none;
    font-weight: 600;
    color: #fff;
    border-radius: 12px;
    padding: 12px;
    transition: 0.3s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(56,189,248,0.5);
}


/* =========================
   BUTTON (REGISTER)
========================= */
.btn-main {
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    border: none;
    font-weight: 600;
    color: #fff;
    border-radius: 12px;
    padding: 12px;
    transition: 0.3s;
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(56,189,248,0.5);
}


/* =========================
   LINKS
========================= */
.text-warning {
    color: #38bdf8 !important;
    font-weight: 500;
}


/* =========================
   ANIMATION
========================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}