/* ============================================================
   64SKILLS AUTH & PROFILE MANAGER STYLING SYSTEM
   ============================================================ */

:root {
    --auth-bg: #0f172a;
    --auth-card: rgba(30, 41, 59, 0.7);
    --auth-border: rgba(255, 255, 255, 0.08);
    --auth-text: #f8fafc;
    --auth-muted: #94a3b8;
    --auth-accent: #3b82f6;
    --auth-accent-hover: #2563eb;
    --auth-glow: rgba(59, 130, 246, 0.15);
}

.auth-body-wrapper {
    background-color: var(--auth-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', 'Inter', sans-serif;
    color: var(--auth-text);
    padding: 20px;
    background-image: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 450px),
                      radial-gradient(circle at bottom left, rgba(99, 102, 241, 0.1), transparent 450px);
}

.auth-container {
    width: 100%;
    max-width: 440px;
    background: var(--auth-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--auth-border);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

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

.auth-header h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
    letter-spacing: -0.02em;
}

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

.auth-form-group {
    margin-bottom: 20px;
    position: relative;
}

.auth-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #e2e8f0;
}

.auth-input-wrapper {
    position: relative;
}

.auth-input-wrapper input,
.auth-input-wrapper textarea {
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--auth-border);
    border-radius: 8px;
    padding: 12px 16px 12px 40px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.auth-input-wrapper input:focus,
.auth-input-wrapper textarea:focus {
    border-color: var(--auth-accent);
    box-shadow: 0 0 0 3px var(--auth-glow);
}

.auth-input-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--auth-muted);
    pointer-events: none;
}

.auth-input-wrapper textarea {
    padding-left: 16px;
    min-height: 100px;
    resize: vertical;
}

.auth-btn-primary {
    width: 100%;
    background: var(--auth-accent);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-btn-primary:hover {
    background: var(--auth-accent-hover);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.auth-btn-primary:active {
    transform: scale(0.98);
}

.auth-footer-links {
    margin-top: 24px;
    text-align: center;
    font-size: 13px;
    color: var(--auth-muted);
}

.auth-footer-links a {
    color: var(--auth-accent);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-footer-links a:hover {
    color: #60a5fa;
}

.auth-alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 24px;
    display: none;
    animation: fadeIn 0.4s ease;
}

.auth-alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.auth-alert-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

/* PROFILE STYLES */
.profile-wrapper {
    background: #0b0f19;
    min-height: 100vh;
    font-family: 'Outfit', 'Inter', sans-serif;
    color: #e2e8f0;
}

.profile-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.profile-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
}

@media(max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
}

.profile-sidebar-card {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.profile-avatar-circle {
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(59,130,246,0.3);
}

.profile-content-card {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.profile-stat-box {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255,255,255,0.03);
    padding: 16px;
    border-radius: 8px;
    text-align: center;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
