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

:root {
    --bg-main: #000000;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-main: #ededed;
    --text-muted: #a1a1aa;
    --accent: #6366f1;
    --accent-hover: #4f46e5;
    --error: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* ================= UTILITIES ================= */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.glow-effect:hover {
    box-shadow: 0 0 32px rgba(99, 102, 241, 0.15);
}

.transition-all {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ================= AUTHENTICATION PAGE ================= */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    min-height: 100vh;
    padding: 20px;
}

.auth-box {
    width: 100%;
    max-width: 420px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.auth-header {
    text-align: center;
    margin-bottom: 10px;
}

.auth-header h1 {
    font-size: clamp(24px, 5vw, 32px);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-main);
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.2);
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.auth-switch {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

.auth-switch a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* ================= ERROR ALERT BOX ================= */
.error-box {
    display: none;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--error);
    padding: 16px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
    word-break: break-all;
}

.error-title {
    font-weight: 700;
    margin-bottom: 4px;
    display: block;
}

/* ================= FOOTER ================= */
.footer-credit {
    text-align: center;
    opacity: 0.3;
    font-size: 12px;
    padding: 20px 0;
    width: 100%;
}