/* Login page */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(8,12,20,.78), rgba(8,12,20,.78)), url("../img/hero.jpg") center/cover no-repeat;
    padding: 40px 20px;
}

.login-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(37,99,235,.25), transparent 30%), radial-gradient(circle at bottom right, rgba(59,130,246,.18), transparent 35%);
}

.login-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 460px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(24px);
    border-radius: 34px;
    padding: 50px 42px;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    animation: fadeUp 1s ease;
}

.login-logo {
    width: 180px;
    margin: 0 auto 30px;
}

.login-title {
    color: #fff;
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.login-subtitle {
    text-align: center;
    color: rgba(255,255,255,.70);
    margin-bottom: 36px;
    line-height: 1.7;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-group label {
    color: rgba(255,255,255,.82);
    font-size: 14px;
    font-weight: 500;
}

.input-group input {
    height: 58px;
    border: none;
    outline: none;
    border-radius: 18px;
    padding: 0 20px;
    font-size: 15px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.10);
    color: #fff;
    transition: .25s ease;
}

.input-group input::placeholder {
    color: rgba(255,255,255,.45);
}

.input-group input:focus {
    border-color: #3b82f6;
    background: rgba(255,255,255,.14);
    box-shadow: 0 0 0 4px rgba(59,130,246,.18);
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -6px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.75);
    font-size: 14px;
}

.forgot {
    color: #93c5fd;
    font-size: 14px;
    transition: .2s ease;
}

.forgot:hover {
    color: #fff;
}


.login-error {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(239, 68, 68, .15);
    border: 1px solid rgba(239, 68, 68, .4);
    color: #fecaca;
    font-size: 14px;
}

.login-btn {
    margin-top: 10px;
    height: 60px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg,#2563eb,#3b82f6);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s ease;
    box-shadow: 0 10px 30px rgba(37,99,235,.35);
    position: relative;
    overflow: hidden;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(37,99,235,.45);
}

.login-footer {
    text-align: center;
    margin-top: 24px;
}

.login-footer p {
    margin-bottom: 10px;
}

.login-register-btn {
    /* display: inline-block;
    padding: 10px 18px;
    border-radius: 12px;
    background: #2563eb; */
    color: #fff;
    font-weight: 600;
    transition: .2s ease;
}

.login-register-btn:hover {
    transform: translateY(-2px);
    opacity: .95;
}


.back-link {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(16px);
    color: #fff;
    transition: .25s ease;
}

.back-link:hover {
    background: rgba(255,255,255,.18);
    transform: translateY(-2px);
}

@media (max-width:768px) {
    .login-card {
        padding: 40px 24px;
    }

    .login-title {
        font-size: 34px;
    }

    .back-link {
        left: 20px;
        top: 20px;
    }
}
