@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: #0f111a; /* Background gelap ala hacker/modern */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #fff;
}

.auth-card {
    background-color: #1a1d2d;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.auth-icon {
    font-size: 2rem;
    color: #8b5cf6; /* Warna ungu ikon bintang */
    margin-bottom: 1rem;
}

.auth-card h2 {
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.auth-card p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.input-group {
    position: relative;
    margin-bottom: 1.2rem;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.input-group i {
    position: absolute;
    top: 36px;
    left: 14px;
    color: #64748b;
}

.input-group input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    background-color: #0f111a;
    border: 1px solid #334155;
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: #8b5cf6;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    opacity: 0.9;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #64748b;
    font-size: 0.85rem;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #334155;
}

.divider::before { margin-right: .5em; }
.divider::after { margin-left: .5em; }

.btn-google {
    width: 100%;
    padding: 10px;
    background-color: #1e293b;
    color: #cbd5e1;
    border: 1px solid #334155;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s;
}

.btn-google:hover {
    background-color: #334155;
}

.auth-footer {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #94a3b8;
}

.auth-footer a {
    color: #8b5cf6;
    text-decoration: none;
    font-weight: 500;
}

.alert {
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.85rem;
}
.alert-error { background-color: rgba(239, 68, 68, 0.2); color: #fca5a5; border: 1px solid #ef4444; }
.alert-success { background-color: rgba(34, 197, 94, 0.2); color: #86efac; border: 1px solid #22c55e; }
