/* volleyball-app/css/login.css */

/* volleyball-app/css/login.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    /* PERBAIKAN PATH: ditambahkan /assets/ */
    background: url('../assets/images/bg-volleyball.jpg') no-repeat center center / cover fixed;
    font-family: 'Plus Jakarta Sans', sans-serif;
    position: relative;
}

/* Layer Transparan agar Teks Tetap Jelas Dibaca */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 22, 40, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 1;
}

/* Card Utama Login Glassmorphism */
.login-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7),
                0 0 30px rgba(0, 102, 255, 0.15);
    overflow: hidden;
}

.login-header {
    padding: 38px 30px 22px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.login-header .logo-badge {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0066FF, #00D4FF);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #FFFFFF;
    font-size: 1.4rem;
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.4);
}

.login-header h1 {
    color: #FFFFFF;
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.login-header h1 span {
    color: #FFD700;
}

.login-header p {
    color: #94A3B8;
    font-size: 0.82rem;
    margin-top: 6px;
    font-weight: 600;
}

.login-body {
    padding: 28px 30px 35px;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #FCA5A5;
    padding: 12px 15px;
    border-radius: 12px;
    font-size: 0.85rem;
    margin-bottom: 22px;
    text-align: center;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.75rem;
    color: #FFD700;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Input & Icon Styling */
.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrapper i.left-icon {
    position: absolute;
    left: 16px;
    color: #64748B;
    font-size: 1rem;
    transition: color 0.3s;
}

.form-control {
    width: 100%;
    padding: 14px 45px 14px 45px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 0.95rem;
    color: #FFFFFF;
    font-weight: 600;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: #64748B;
    font-weight: 500;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.25);
    outline: none;
}

.form-control:focus + i.left-icon {
    color: #FFD700;
}

/* Password Eye Button */
.toggle-password {
    position: absolute;
    right: 14px;
    background: transparent;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    font-size: 1rem;
    padding: 6px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    color: #FFD700;
}

/* Tombol Login Gradient Emas Sporty */
.btn-login {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #FFD700 0%, #FF9900 100%);
    color: #0B1628;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 1px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(255, 153, 0, 0.35);
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 10px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 153, 0, 0.5);
    background: linear-gradient(135deg, #FFE033 0%, #FFA81A 100%);
}

.btn-login:active {
    transform: translateY(0);
}

.login-footer {
    text-align: center;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    color: #64748B;
    font-weight: 600;
}