@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #4361ee;
    --primary-gradient: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    --secondary-color: #7209b7;
    --background-color: #f0f2f5;
    --text-color: #2b2d42;
    --card-bg: #ffffff;
    --text-muted: #8d99ae;
    --success-color: #4cc9f0;
}

body {
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    /* For basic centering, dashboard overrides this */
    flex-direction: column;
}

body.auth-page {
    justify-content: center;
    align-items: center;
    background: #eef1f6 url('data:image/svg+xml;base64,...') no-repeat center center fixed;
    /* Placeholder for a subtle pattern */
}

/* Auth Specifics */
.auth-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.auth-card {
    background: var(--card-bg);
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(67, 97, 238, 0.15);
    width: 100%;
    max-width: 480px;
    text-align: center;
    transition: transform 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-5px);
}

.auth-header h1 {
    margin: 0 0 10px 0;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    font-size: 2.5rem;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 30px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background-color: #f8f9fa;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: var(--primary-color);
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    cursor: pointer;
    background: var(--primary-gradient);
    color: white;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
}

.btn:hover {
    box-shadow: 0 15px 25px rgba(67, 97, 238, 0.4);
    transform: translateY(-2px);
}

/* Tabs */
.nav-tabs {
    display: flex;
    justify-content: center;
    background: #f1f3f5;
    padding: 5px;
    border-radius: 16px;
    margin-bottom: 30px;
    border: none;
}

.nav-item {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.nav-item.active {
    background-color: #fff;
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.hidden {
    display: none;
}

/* Dashboard Layout */
.dashboard-body {
    background-color: #f7f9fc;
    display: block;
    /* Override flex centering */
}

.dashboard-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: #fff;
    border-right: 1px solid #f0f0f0;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
}

.sidebar h2 {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 40px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    padding-left: 10px;
}

.menu-item {
    padding: 14px 20px;
    margin-bottom: 8px;
    border-radius: 12px;
    cursor: pointer;
    color: var(--text-muted);
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.menu-item:hover,
.menu-item.active {
    background-color: rgba(67, 97, 238, 0.08);
    color: var(--primary-color);
}

.main-content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

#page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
}

.user-profile-badge {
    background: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    font-weight: 600;
    color: var(--text-color);
}

.card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
}