/* ===== Campton Font Family ===== */
@font-face {
    font-family: 'Campton';
    src: url('fonts/CamptonThin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Campton';
    src: url('fonts/CamptonThinItalic.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Campton';
    src: url('fonts/CamptonExtraLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Campton';
    src: url('fonts/CamptonExtraLightItalic.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Campton';
    src: url('fonts/CamptonLight.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Campton';
    src: url('fonts/CamptonLightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Campton';
    src: url('fonts/CamptonBook.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Campton';
    src: url('fonts/CamptonBookItalic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Campton';
    src: url('fonts/CamptonMedium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Campton';
    src: url('fonts/CamptonMediumItalic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Campton';
    src: url('fonts/CamptonSemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Campton';
    src: url('fonts/CamptonSemiBoldItalic.otf') format('opentype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Campton';
    src: url('fonts/CamptonBold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Campton';
    src: url('fonts/CamptonBoldItalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Campton';
    src: url('fonts/CamptonExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Campton';
    src: url('fonts/CamptonExtraBoldItalic.otf') format('opentype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Campton';
    src: url('fonts/CamptonBlack.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Campton';
    src: url('fonts/CamptonBlackItalic.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* ===== CSS Variables ===== */
:root {
    --primary: #046A38;
    --primary-dark: #035530;
    --primary-light: #97D700;
    --secondary: #009CA6;
    --accent: #ED8B00;
    --bg: #f8fafc;
    --surface: #ffffff;
    --text: #1e293b;
    --text-light: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --max-width: 1200px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

input, textarea, select, button {
    font-family: inherit;
    font-size: inherit;
}

body {
    font-family: 'Campton', Arial, Helvetica, sans-serif;
    font-weight: 400; /* CamptonBook — body copy per brand guidelines */
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Navigation ===== */
.navbar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-link {
    display: block;
    text-decoration: none;
}

/* Fantaskr co-brand logo */
.ufluencer-logo-link {
    text-decoration: none;
    display: block;
}

.fantaskr-wordmark-img {
    height: 22px;
    width: auto;
    display: block;
}

.nav-brand-divider {
    width: 1px;
    height: 26px;
    background: var(--border);
    margin: 0 0.65rem;
    flex-shrink: 0;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

/* Fallback text logo styles (when no image logo is available) */
.logo {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1.1rem;
}

.brand-text {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-links a {
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: var(--bg);
}

/* ===== Hero Section ===== */
.hero {
    background: url('branding/images/header-image.jpg') center/cover no-repeat;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== Page Header ===== */
.page-header {
    background: var(--surface);
    padding: 3rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-light);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

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

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--bg);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ===== Main Content ===== */
main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* ===== Features Section ===== */
.features h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== Assignments ===== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 1.5rem;
}

.view-all {
    color: var(--primary);
    font-weight: 500;
}

.view-all:hover {
    text-decoration: underline;
}

.assignments-grid,
.assignment-preview-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.assignment-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.assignment-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.assignment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.assignment-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    background: var(--bg);
}

.assignment-category.photo { color: #0891b2; background: #cffafe; }
.assignment-category.video { color: #dc2626; background: #fee2e2; }
.assignment-category.writing { color: #7c3aed; background: #ede9fe; }
.assignment-category.design { color: #ea580c; background: #ffedd5; }

.assignment-status {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
}

.assignment-status.open {
    color: var(--secondary);
    background: #d1fae5;
}

.assignment-status.closing-soon {
    color: var(--accent);
    background: #fef3c7;
}

.assignment-status.completed {
    color: var(--text-light);
    background: var(--border);
}

.assignment-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.assignment-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    flex-grow: 1;
}

.assignment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.assignment-reward {
    font-weight: 700;
    color: var(--secondary);
    font-size: 1.1rem;
}

.assignment-deadline {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ===== Tier Badges ===== */
.assignment-badges {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.assignment-tier {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    letter-spacing: 0.05em;
}

.tier-badge-1 {
    background: rgba(100, 116, 139, 0.15);
    color: #64748b;
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.tier-badge-2 {
    background: rgba(5, 150, 105, 0.15);
    color: #059669;
    border: 1px solid rgba(5, 150, 105, 0.3);
}

.tier-badge-3 {
    background: rgba(217, 119, 6, 0.15);
    color: #d97706;
    border: 1px solid rgba(217, 119, 6, 0.3);
}

/* ===== Locked Assignments ===== */
.assignment-card.locked {
    opacity: 0.7;
    position: relative;
}

.assignment-card.locked::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0.08) 100%);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.assignment-card-locked {
    display: block;
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    padding: 0.75rem;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px dashed var(--border);
}

/* ===== User Tier Display ===== */
.user-tier-display {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 1rem;
}

.tier-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tier-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    border: 1px solid;
    letter-spacing: 0.03em;
}

.tier-points {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
}

.tier-earned-nav {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

.tier-next {
    font-size: 0.75rem;
    color: var(--text-light);
}

.tier-max {
    font-size: 0.75rem;
    color: #d97706;
    font-weight: 600;
}

/* ===== Tier Lock Message ===== */
.tier-lock-message {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border);
}

.tier-lock-message .lock-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tier-lock-message h3 {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.tier-lock-message p {
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.lock-progress {
    width: 100%;
    max-width: 300px;
    height: 8px;
    background: var(--border);
    border-radius: 100px;
    margin: 1.5rem auto;
    overflow: hidden;
}

.lock-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 100px;
    transition: width 0.3s ease;
}

.lock-current {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* ===== Tier Info Section ===== */
.tier-info-section {
    margin-bottom: 2rem;
}

.tier-info-section h2 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.tier-legend {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.tier-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.tier-desc {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ===== Filters Bar + Panel ===== */
.filters-bar {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filters-bar .search-box {
    flex: 1;
    min-width: 0;
}

.filters-bar .search-box input {
    width: 100%;
    padding: 0.6rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
    font-size: 0.9rem;
}

.filters-bar .search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(4,106,56,0.1);
}

.filters-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.filters-toggle-btn:hover,
.filters-toggle-active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(4,106,56,0.05);
}

.filters-has-active {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    background: rgba(4,106,56,0.08) !important;
}

.filters-active-count {
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 999px;
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.filters-panel {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    animation: fadeIn 0.15s ease;
}

.filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.filter-group label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.filter-group select,
.search-box input {
    padding: 0.6rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    font-size: 0.95rem;
    min-width: 150px;
}

.search-box {
    flex: 1;
    min-width: 200px;
}

.search-box input {
    width: 100%;
}

/* ===== Upload Form ===== */
.upload-section {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.upload-form {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===== Drop Zone ===== */
.drop-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg);
}

.drop-zone:hover,
.drop-zone.dragover {
    border-color: var(--primary);
    background: #e8f5ee;
}

.drop-zone-content {
    pointer-events: none;
}

.upload-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: var(--primary);
}

.drop-zone p {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.file-types {
    font-size: 0.85rem;
    color: var(--text-light);
}

.file-list {
    margin-top: 1rem;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--bg);
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
}

.file-item-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.file-item-name {
    font-weight: 500;
}

.file-item-size {
    font-size: 0.85rem;
    color: var(--text-light);
}

.file-item-remove {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.25rem;
}

/* ===== Submit Consent Text ===== */
.terms-group {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.85rem 1rem;
}

.submit-consent-text {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ===== Checkbox ===== */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-text {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.65rem 1rem;
    line-height: 1.4;
}

.checkbox-label input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checkmark::after {
    content: '✓';
    display: none;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-label input:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input:checked + .checkmark::after {
    display: block;
}

.form-actions {
    margin-top: 2rem;
}

.form-actions .btn {
    width: 100%;
}

/* ===== Upload Success ===== */
.upload-success {
    text-align: center;
    padding: 3rem;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.upload-success h2 {
    margin-bottom: 0.5rem;
}

.upload-success p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* ===== Upload Tips ===== */
.upload-tips h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
}

.tip-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.tip-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===== FAQ ===== */
.faq-search {
    margin-bottom: 2rem;
}

.faq-search input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    background: var(--surface);
}

.faq-search input:focus {
    outline: none;
    border-color: var(--primary);
}

.faq-section {
    margin-bottom: 2rem;
}

.faq-section h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--bg);
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--primary);
    transition: transform 0.2s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== Contact CTA ===== */
.contact-cta {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, var(--bg), #e8f5ee);
    border-radius: var(--radius-lg);
    margin-top: 2rem;
}

.contact-cta h2 {
    margin-bottom: 0.5rem;
}

.contact-cta p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* ===== Footer ===== */
.footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== Hamburger Menu - Desktop (hidden) ===== */
.nav-toggle {
    display: none;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        padding: 1rem;
    }

    .nav-brand {
        flex: 1;
    }

    .logo-img {
        height: 32px;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        cursor: pointer;
        padding: 0.5rem;
        gap: 5px;
        transition: all 0.2s;
    }

    .nav-toggle:hover {
        background: var(--border);
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.75rem 1rem;
    }

    .nav-links a.nav-btn {
        margin-top: 0.5rem;
        text-align: center;
    }

    .user-tier-display {
        width: 100%;
        margin: 0;
        order: 3;
        padding-top: 0.75rem;
        border-top: 1px solid var(--border);
    }

    .tier-info {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .tier-next {
        display: none;
    }

    .tier-legend {
        flex-direction: column;
        gap: 0.5rem;
    }

    .tier-item {
        width: 100%;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    main {
        padding: 2rem 1rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .filters {
        flex-direction: column;
    }

    .filter-group,
    .search-box {
        width: 100%;
    }

    .upload-form {
        padding: 1.5rem;
    }

    /* Profile mobile */
    .nav-avatar-item {
        border-left: none;
        border-top: 1px solid var(--border);
        padding-left: 0;
        padding-top: 0.75rem;
        justify-content: center;
    }

    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-stat-card:nth-child(2) {
        border-right: none;
    }

    .profile-stat-card:nth-child(3),
    .profile-stat-card:nth-child(4) {
        border-top: 1px solid var(--border);
    }

    .profile-stat-card:nth-child(4) {
        border-right: none;
    }

    .profile-stat-card:nth-child(5) {
        grid-column: 1 / -1;
        border-top: 1px solid var(--border);
        border-right: none;
    }

    .profile-hero-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-bio {
        margin: 0 auto 0.5rem;
    }

    .profile-main {
        grid-template-columns: 1fr;
        padding: 1.5rem 1rem;
    }

    .profile-rewards-aside {
        position: static;
    }

    .profile-progress-section {
        padding: 1.5rem 1rem;
    }
}

/* ===== Nav Button ===== */
.nav-links a.nav-btn {
    background: var(--primary);
    color: white;
}

.nav-links a.nav-btn:hover,
.nav-links a.nav-btn.active {
    background: var(--primary-dark);
    color: white;
}

/* ===== Hamburger Menu ===== */
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Suggest CTA Banner ===== */
.suggest-cta {
    margin-top: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    color: white;
}

.suggest-cta h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.suggest-cta p {
    opacity: 0.9;
    max-width: 560px;
    margin: 0 auto 1.5rem;
}

.suggest-cta .btn-primary {
    background: white;
    color: var(--primary);
}

.suggest-cta .btn-primary:hover {
    background: var(--bg);
    color: var(--primary-dark);
}

/* ===== Success Suggest Nudge ===== */
.success-suggest {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.success-suggest a {
    color: var(--primary);
    font-weight: 500;
}

.success-suggest a:hover {
    text-decoration: underline;
}

/* ===== Assignment Card Submit Button ===== */
.assignment-card-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

.assignment-card-closed {
    display: block;
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    padding: 0.5rem;
}

/* ===== Assignment Detail Page ===== */
.assignment-detail-header {
    text-align: left;
    padding: 2rem;
}

.back-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    transition: opacity 0.2s;
}

.back-link:hover {
    opacity: 0.75;
}

.assignment-detail-badges {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.assignment-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* ===== Assignment Brief (left panel) ===== */
.assignment-brief {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    overflow: hidden;
    position: sticky;
    top: 76px;
}

.brief-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--border);
}

.brief-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1.25rem;
    border-right: 1px solid var(--border);
}

.brief-meta-item:last-child {
    border-right: none;
}

.brief-meta-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
}

.brief-meta-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.brief-meta-value.points {
    font-size: 1.25rem;
    color: var(--secondary);
}

.brief-description {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.brief-description h3,
.brief-guidelines h3 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.brief-description p {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.brief-guidelines {
    padding: 1.5rem;
}

.brief-guidelines ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.brief-guidelines li {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.5;
    padding-left: 1.25rem;
    position: relative;
}

.brief-guidelines li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

/* ===== Assignment Upload (right panel) ===== */
.assignment-upload {
    /* no sticky — form scrolls naturally */
}

.upload-form-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.form-closed-msg {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* ===== Not Found State ===== */
.not-found {
    text-align: center;
    padding: 4rem 2rem;
}

.not-found p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* ===== Responsive: Detail Page ===== */
@media (max-width: 900px) {
    .assignment-detail {
        grid-template-columns: 1fr;
    }

    .assignment-brief {
        position: static;
    }

    .brief-meta {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .brief-meta {
        grid-template-columns: 1fr 1fr;
    }

    .brief-meta-item:nth-child(2) {
        border-right: none;
    }

    .brief-meta-item:nth-child(3) {
        border-top: 1px solid var(--border);
        grid-column: 1 / -1;
        border-right: none;
    }
}

/* ===== Sponsored Assignments ===== */
.assignment-card.sponsored {
    border-top: none;
    overflow: hidden;
}

.sponsor-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    margin: -1.5rem -1.5rem 1rem;
}

.sponsor-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.85);
}

.sponsor-logo-placeholder {
    background: white;
    border-radius: 4px;
    padding: 0.3rem 0.75rem;
    min-width: 90px;
    text-align: center;
}

.sponsor-logo-text {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.sponsor-logo-img,
.sponsor-logo-svg {
    padding: 0.3rem 0.6rem;
    width: 150px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-logo-img img,
.sponsor-logo-svg svg,
.sponsor-logo-svg img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* ===== Rewards Store Hero ===== */
.store-hero {
    position: relative;
    background: url('branding/images/header-image.jpg') center center / cover no-repeat;
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    overflow: hidden;
}

.store-hero-content {
    position: relative;
    z-index: 1;
}

.store-hero-content h1 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.store-hero-content > p {
    opacity: 0.85;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.store-balance {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 100px;
    padding: 0.6rem 1.75rem;
    backdrop-filter: blur(4px);
}

.store-balance-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
}

.store-balance-label {
    font-size: 0.9rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* ===== Store Filters ===== */
.store-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    max-width: var(--max-width);
    margin: 2rem auto 1.5rem;
    padding: 0 2rem;
}

.store-filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    border: 1.5px solid var(--border);
    background: var(--surface);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.2s;
}

.store-filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.store-filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ===== Rewards Grid ===== */
.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem 3rem;
}

/* ===== Reward Card ===== */
.reward-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.reward-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.reward-card-claimed {
    opacity: 0.75;
}

.reward-card-locked {
    opacity: 0.6;
}

.reward-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    min-height: 52px;
}

.reward-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.9);
    white-space: nowrap;
}

.reward-logo {
    background: white;
    border-radius: 4px;
    padding: 0.25rem 0.6rem;
}

.reward-logo-text {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.reward-logo-img,
.reward-logo-svg {
    width: 140px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.6rem;
}

.reward-logo-img img,
.reward-logo-svg svg,
.reward-logo-svg img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.reward-card-body {
    padding: 1.25rem 1.25rem 0.75rem;
    flex: 1;
}

.reward-card-body h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.reward-card-body p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.5;
}

.reward-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border);
    gap: 0.75rem;
    margin-top: auto;
}

.reward-cost {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    white-space: nowrap;
}

.reward-claim-btn {
    font-size: 0.8rem;
    padding: 0.5rem 0.9rem;
    white-space: nowrap;
}

.reward-locked-btn {
    font-size: 0.78rem;
    padding: 0.45rem 0.75rem;
    background: var(--bg);
    color: var(--text-light);
    border: 1px dashed var(--border);
    cursor: not-allowed;
    white-space: nowrap;
}

.reward-claimed-btn {
    font-size: 0.8rem;
    padding: 0.5rem 0.9rem;
    background: #d1fae5;
    color: #059669;
    border: 1px solid #6ee7b7;
    cursor: default;
    font-weight: 700;
}

/* ===== Claimed Rewards Section ===== */
.claimed-section {
    max-width: var(--max-width);
    margin: 2rem auto 0;
    padding: 0 2rem;
}

.claimed-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.claimed-header h2 {
    font-size: 1.1rem;
}

.claimed-count {
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--primary);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
}

.claimed-list {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.claimed-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.claimed-item:last-child {
    border-bottom: none;
}

.claimed-item-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.claimed-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.claimed-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.claimed-item-brand {
    font-size: 0.78rem;
    color: var(--text-light);
}

.claimed-item-code {
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.25rem 0.6rem;
    color: var(--text);
    letter-spacing: 0.05em;
}

/* ===== Claim Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal {
    background: var(--surface);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalIn 0.2s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-brand-strip {
    height: 8px;
}

.modal-body {
    padding: 1.75rem;
}

.modal-body h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.modal-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.modal-cost {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    background: var(--bg);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
}

.modal-balance-after {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modal-actions .btn {
    width: 100%;
}

.modal-success-icon {
    width: 64px;
    height: 64px;
    background: #d1fae5;
    color: #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
}

.voucher-code {
    font-family: 'Courier New', monospace;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    background: var(--bg);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    margin: 1rem 0 0.5rem;
    color: var(--text);
    text-align: center;
}

.voucher-note {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0 !important;
}

/* ===== Responsive: Store ===== */
@media (max-width: 768px) {
    .store-filters {
        padding: 0 1rem;
    }

    .rewards-grid {
        padding: 0 1rem 3rem;
        grid-template-columns: 1fr;
    }

    .claimed-section {
        padding: 0 1rem;
    }
}

/* ===== Nav Avatar ===== */
.nav-avatar-item {
    display: flex;
    align-items: center;
    padding-left: 0.5rem;
    border-left: 1px solid var(--border);
    margin-left: 0.25rem;
}

.nav-avatar-link {
    display: block;
    border-radius: 50%;
    line-height: 0;
    padding: 0;
    transition: box-shadow 0.2s;
}

.nav-avatar-link:hover,
.nav-avatar-link.active {
    box-shadow: 0 0 0 2px var(--primary);
    background: transparent;
}

.nav-avatar-img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid var(--border);
}

/* ===== Profile Page ===== */

/* Hero */
.profile-hero {
    background: url('branding/images/header-image.jpg') center/cover no-repeat;
    color: white;
    padding: 3rem 2rem;
}

.profile-hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.profile-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar-large {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    display: block;
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
    position: relative;
    z-index: 1;
}

.profile-tier-ring {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 4px solid var(--ring-color, #059669);
    pointer-events: none;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.25), 0 4px 18px rgba(0,0,0,0.3);
}

.profile-tier-pill {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pill-color, #059669);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.55rem;
    border-radius: 20px;
    border: 2px solid #fff;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    z-index: 2;
    pointer-events: none;
}

.profile-identity {
    flex: 1;
    min-width: 200px;
}

.profile-name {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.profile-meta {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 0.5rem;
}

.profile-bio {
    font-size: 0.95rem;
    opacity: 0.8;
    max-width: 480px;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.profile-since {
    font-size: 0.8rem;
    opacity: 0.65;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.profile-tier-badge-block {
    display: flex;
    align-items: flex-start;
    padding-top: 0.25rem;
}

.profile-tier-badge-block .tier-badge {
    font-size: 0.9rem;
    padding: 0.45rem 1rem;
}

/* Stats Row */
.profile-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.profile-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    border-right: 1px solid var(--border);
    text-align: center;
}

.profile-stat-card:last-child {
    border-right: none;
}

.profile-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.profile-stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
}

.profile-stat-sub {
    font-size: 0.7rem;
    color: var(--text-light);
    opacity: 0.75;
    margin-top: 0.15rem;
}

.stat-earned .profile-stat-number {
    color: var(--primary);
}

.stat-available .profile-stat-number {
    color: var(--secondary);
}

/* Tier Progress */
.profile-progress-section {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 2rem;
}

.profile-progress-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.profile-section-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.profile-tier-steps {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.profile-tier-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    flex: 1;
    text-align: center;
}

.profile-tier-step-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--border);
    border: 2px solid var(--border);
    margin-bottom: 0.25rem;
}

.profile-tier-step.done .profile-tier-step-dot,
.profile-tier-step.active .profile-tier-step-dot {
    background: var(--primary);
    border-color: var(--primary);
}

.profile-tier-step-name {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-light);
}

.profile-tier-step.done .profile-tier-step-name,
.profile-tier-step.active .profile-tier-step-name {
    color: var(--text);
}

.profile-tier-step-pts {
    font-size: 0.72rem;
    color: var(--text-light);
}

.profile-tier-connector {
    flex: 2;
    height: 2px;
    background: var(--border);
    margin-bottom: 1.5rem;
}

.profile-tier-connector.done {
    background: var(--primary);
}

.profile-tier-progress-bar-wrap {
    height: 8px;
    background: var(--border);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.profile-tier-progress-bar {
    height: 100%;
    border-radius: 100px;
    transition: width 0.5s ease;
}

.profile-tier-progress-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Main layout */
.profile-main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2.5rem 2rem;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: start;
}

.profile-section-title-dark {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text);
    margin-bottom: 1rem;
}

/* Submission History */
.profile-history-list {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.profile-history-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.profile-history-item:last-child {
    border-bottom: none;
}

.profile-history-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.profile-history-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-history-date {
    font-size: 0.78rem;
    color: var(--text-light);
}

.profile-history-pts {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary);
    white-space: nowrap;
}

.profile-history-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    flex-shrink: 0;
}

.profile-history-files-used {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.1rem;
}

.profile-history-status {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.6rem;
    border-radius: 100px;
    white-space: nowrap;
}

.profile-history-status.approved {
    background: #d1fae5;
    color: #059669;
}

.profile-history-status.accepted {
    background: #d1fae5;
    color: #059669;
}

.profile-history-status.pending {
    background: #fef3c7;
    color: #d97706;
}

.reward-tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.55rem;
    border-radius: 100px;
    white-space: nowrap;
}

.reward-tier-badge.participation {
    background: #eff6ff;
    color: #3b82f6;
}

.reward-tier-badge.partial {
    background: #fef3c7;
    color: #d97706;
}

.reward-tier-badge.bounty {
    background: #fef9c3;
    color: #ca8a04;
    border: 1px solid #fde68a;
}

.virality-boost-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.55rem;
    border-radius: 100px;
    white-space: nowrap;
    background: #1c1400;
    color: #fcd34d;
    border: 1px solid #78350f;
}

/* Rewards aside */
.profile-rewards-aside {
    position: sticky;
    top: 76px;
}

.profile-rewards-list {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* Empty states */
.profile-empty {
    padding: 2rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

.profile-empty-rewards {
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.profile-empty-rewards p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== Likeness Release Section (in upload form) ===== */
.release-section {
    border: 1.5px dashed var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    background: #fafbfc;
}

.release-section-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.release-section-info {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.release-section-icon {
    font-size: 1.3rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 1px;
}

.release-label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 0.1rem;
}

.release-hint {
    display: block;
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.4;
}

.btn-release-add {
    flex-shrink: 0;
    background: var(--surface);
    border: 1.5px solid var(--primary);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.45rem 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.btn-release-add:hover {
    background: var(--primary);
    color: #fff;
}

.release-list {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.release-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid #c6f4d9;
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    padding: 0.6rem 0.85rem;
}

.release-item-icon {
    color: var(--primary);
    flex-shrink: 0;
    line-height: 0;
}

.release-item-info {
    flex: 1;
    min-width: 0;
}

.release-item-name {
    display: block;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.release-item-meta {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 1px;
}

.release-item-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.release-item-download {
    background: none;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.3rem 0.4rem;
    cursor: pointer;
    color: var(--text-light);
    line-height: 0;
    transition: color 0.15s, border-color 0.15s;
}

.release-item-download:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.release-item-remove {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.1rem 0.25rem;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}

.release-item-remove:hover {
    color: #ef4444;
    background: #fef2f2;
}

/* ===== Likeness Release Modal ===== */
.release-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    padding: 1rem;
    backdrop-filter: blur(3px);
    animation: legalOverlayIn 0.2s ease;
    overflow-y: auto;
}

.release-modal {
    background: var(--surface);
    border-radius: var(--radius-lg);
    max-width: 640px;
    width: 100%;
    box-shadow: 0 24px 64px rgba(0,0,0,0.25);
    overflow: hidden;
    animation: legalModalIn 0.25s ease;
    margin: auto;
}

.release-modal-header {
    background: var(--primary);
    color: #fff;
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.release-modal-title-wrap h3 {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.15rem;
}

.release-modal-title-wrap p {
    font-size: 0.8rem;
    opacity: 0.8;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.release-modal-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    margin-top: -2px;
    transition: color 0.15s;
}

.release-modal-close:hover {
    color: #fff;
}

.release-modal-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.release-field-group {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.1rem 1.1rem;
}

.release-field-group--muted {
    background: var(--bg);
}

.release-fg-title {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.85rem;
}

.release-fg-title .req {
    color: #ef4444;
}

.release-fg-title .opt {
    font-weight: 400;
    color: var(--text-light);
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.9em;
}

.release-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.release-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.release-field--full {
    grid-column: 1 / -1;
}

.release-field label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.release-field label .req {
    color: #ef4444;
}

.release-field label .opt {
    font-weight: 400;
    text-transform: none;
    color: #94a3b8;
}

.release-field input {
    padding: 0.5rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text);
    background: var(--surface);
    transition: border-color 0.15s;
    width: 100%;
}

.release-field input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(4,106,56,0.1);
}

.release-field input.readonly-input {
    background: #f1f5f9;
    color: var(--text-light);
    cursor: default;
}

/* Signature pad */
.sig-instruction {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.6rem;
}

.sig-pad-wrap {
    position: relative;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    cursor: crosshair;
    overflow: hidden;
    user-select: none;
    touch-action: none;
    height: 150px;
    transition: border-color 0.15s;
}

.sig-pad-wrap:hover,
.sig-pad-wrap:active {
    border-color: var(--primary);
}

.sig-canvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: crosshair;
}

.sig-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #cbd5e1;
    pointer-events: none;
    font-style: italic;
    letter-spacing: 0.02em;
}

.sig-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.sig-clear-btn {
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.3rem 0.75rem;
    font-size: 0.78rem;
    color: var(--text-light);
    cursor: pointer;
    font-family: inherit;
    transition: color 0.15s, border-color 0.15s;
}

.sig-clear-btn:hover {
    color: #ef4444;
    border-color: #ef4444;
}

.sig-hint {
    font-size: 0.75rem;
    color: #94a3b8;
    font-style: italic;
}

.release-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius);
    color: #dc2626;
    font-size: 0.85rem;
    padding: 0.6rem 0.9rem;
}

.release-modal-actions {
    display: flex;
    gap: 0.75rem;
}

.release-modal-actions .btn {
    flex: 1;
}

@media (max-width: 600px) {
    .release-field-row {
        grid-template-columns: 1fr;
    }
    .release-modal-actions {
        flex-direction: column;
    }
    .release-section-top {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===== Flatpickr Date Picker Overrides ===== */
.flatpickr-calendar {
    font-family: Arial, Helvetica, sans-serif;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    font-size: 0.88rem;
}

.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after {
    border-bottom-color: var(--primary);
}

.flatpickr-months .flatpickr-month {
    background: var(--primary);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    color: #fff;
    height: 40px;
}

.flatpickr-current-month,
.flatpickr-current-month .cur-month,
.flatpickr-current-month input.cur-year {
    color: #fff;
    font-weight: 700;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    color: #fff;
    fill: #fff;
    padding: 8px;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
    fill: var(--primary-light);
}

.flatpickr-weekdays {
    background: var(--primary);
}

span.flatpickr-weekday {
    background: var(--primary);
    color: rgba(255,255,255,0.75);
    font-weight: 600;
    font-size: 0.78rem;
}

.flatpickr-day {
    border-radius: var(--radius);
    color: var(--text);
}

.flatpickr-day:hover {
    background: rgba(4,106,56,0.1);
    border-color: transparent;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.flatpickr-day.today {
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 700;
}

.flatpickr-day.today.selected {
    color: #fff;
}

.flatpickr-day.disabled,
.flatpickr-day.disabled:hover {
    color: var(--border);
}

/* ===== Legal Agreement Modal ===== */
.legal-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    padding: 1rem;
    backdrop-filter: blur(2px);
    animation: legalOverlayIn 0.2s ease;
}

@keyframes legalOverlayIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.legal-modal {
    background: var(--surface);
    border-radius: var(--radius-lg);
    max-width: 540px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    animation: legalModalIn 0.25s ease;
}

@keyframes legalModalIn {
    from { opacity: 0; transform: translateY(16px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.legal-modal-header {
    background: var(--primary);
    color: #fff;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-modal-header h3 {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
}

.legal-modal-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.legal-modal-body {
    padding: 1.5rem;
}

.legal-scroll-box {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    max-height: 220px;
    overflow-y: auto;
    font-size: 0.82rem;
    line-height: 1.65;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.legal-scroll-box h4 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text);
    margin: 1rem 0 0.35rem;
}

.legal-scroll-box h4:first-child {
    margin-top: 0;
}

.legal-scroll-box p {
    margin-bottom: 0.5rem;
}

.legal-checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    cursor: pointer;
}


.legal-checkbox-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin: 0;
    accent-color: var(--primary);
    cursor: pointer;
}

.legal-modal-actions {
    display: flex;
    gap: 0.75rem;
}

.legal-modal-actions .btn {
    flex: 1;
}

/* ===== Hidden/Utility ===== */
[hidden] {
    display: none !important;
}

/* ===== Footer Admin Link ===== */
.footer-with-admin {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    text-align: left;
}

.footer-admin-link {
    font-size: 0.72rem;
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.5;
    transition: opacity 0.15s, color 0.15s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.footer-admin-link:hover {
    opacity: 1;
    color: var(--primary);
    text-decoration: none;
}

/* ===== Admin Toggle: Points Hidden ===== */
/* When admin disables "Points Displayed", hide every points mention site-wide */
body.points-hidden .tier-points,
body.points-hidden .assignment-reward,
body.points-hidden .brief-meta-item-points,
body.points-hidden .brief-meta-value.points,
body.points-hidden .reward-cost,
body.points-hidden .reward-locked-btn,
body.points-hidden .profile-tier-step-pts,
body.points-hidden .profile-tier-progress-label,
body.points-hidden .profile-history-pts,
body.points-hidden .stat-earned,
body.points-hidden .stat-available,
body.points-hidden .points-stat,
body.points-hidden .points-mention {
    display: none !important;
}

/* Center the 3 remaining profile stats when points are hidden */
body.points-hidden .profile-stats {
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
}

/* ===== Admin Toggle: Rewards Disabled ===== */
/* When admin disables Rewards Store, hide rewards-related blocks on profile */
body.rewards-disabled .profile-rewards-aside,
body.rewards-disabled .stat-rewards-claimed,
body.rewards-disabled .stat-available {
    display: none !important;
}

/* Extend submission history to fill full width when rewards aside is hidden */
body.rewards-disabled .profile-main {
    grid-template-columns: 1fr;
}

/* 3 stats remain when rewards are disabled (points earned, submissions, media used) */
body.rewards-disabled .profile-stats {
    grid-template-columns: repeat(3, 1fr);
}

/* Only 2 stats remain when both points and rewards are disabled */
body.points-hidden.rewards-disabled .profile-stats {
    grid-template-columns: repeat(2, 1fr);
}

/* ===== Admin Toggle: Tiers Disabled ===== */
body.tiers-disabled .profile-tier-badge-block,
body.tiers-disabled .profile-progress-section,
body.tiers-disabled .assignment-tier,
body.tiers-disabled .user-tier-display,
body.tiers-disabled .tier-info-section,
body.tiers-disabled .tier-lock-message {
    display: none !important;
}

/* ===== "For You" Assignment Badge ===== */
.for-you-card {
    outline: 2px solid #f59e0b;
    outline-offset: -2px;
}

.for-you-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    border: 1px solid #fcd34d;
    margin-bottom: 0.5rem;
    letter-spacing: 0.03em;
}

/* ===== Profile Identity Tags ===== */
.profile-identity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.4rem;
}

.identity-pill-student {
    display: inline-block;
    font-size: 0.75rem;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 100px;
    padding: 0.2rem 0.65rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

/* ===== Profile Edit Modal ===== */
.profile-edit-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.profile-edit-modal {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
}

.profile-edit-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.profile-edit-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.profile-edit-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #6c757d;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.profile-edit-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-edit-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.profile-edit-field label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
}

.profile-edit-field input,
.profile-edit-field select {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #1e293b;
    background: #fff;
}

.profile-edit-field input:focus,
.profile-edit-field select:focus {
    outline: 2px solid var(--primary, #046A38);
    outline-offset: -1px;
    border-color: transparent;
}

.profile-edit-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-edit-check input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    cursor: pointer;
}

.profile-edit-check label {
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
}

.profile-edit-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem 1rem;
    border-top: 1px solid #e9ecef;
}
