/* AUTH.CSS - Official.my 
   Dedicated for Login & Register Pages 
*/

:root {
    --bg-light: #f8fafc;
    --glass-white: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --text-main: #0f172a;
    --text-dim: #64748b;
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-light);
    font-family: 'Plus Jakarta Sans', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container Kad */
.auth-card {
    background: var(--glass-white);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    padding: 60px 45px;
    border-radius: 40px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    box-shadow: var(--shadow);
    z-index: 10;
    animation: fadeIn 0.8s ease-out;
}

/* Logo & Teks */
.logo {
    display: inline-block;
    font-weight: 800;
    font-size: 2rem;
    color: var(--text-main);
    text-decoration: none;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary);
}

h2 {
    font-size: 1rem;
    color: var(--text-dim);
    margin-bottom: 35px;
    font-weight: 500;
    line-height: 1.5;
}

/* Input Styles (Untuk Register) */
.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-input {
    width: 100%;
    padding: 14px 20px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: white;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.auth-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Butang Utama Google */
.btn-google {
    background: #000;
    color: #fff;
    border: none;
    padding: 16px 20px;
    border-radius: 18px;
    font-weight: 700;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 0.9rem;
    margin-top: 10px;
}

.btn-google:hover {
    background: #1e293b;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-google img {
    width: 20px;
    filter: brightness(1.1);
}

/* Footer Link */
.footer-note {
    margin-top: 30px;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.footer-note a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.footer-note a:hover {
    text-decoration: underline;
}

/* Hiasan Blob (Background) */
.blur-blob {
    position: fixed;
    width: 400px;
    height: 400px;
    background: rgba(59, 130, 246, 0.15);
    filter: blur(80px);
    border-radius: 50%;
    z-index: 1;
}

/* Animasi */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 480px) {
    .auth-card {
        padding: 40px 25px;
        margin: 20px;
        border-radius: 30px;
    }
}