/**
 * OLAMI Master Manager — Growth tracker
 * File: assets/css/growth.css
 */

/* Growth tracker (from growth-admin.css) */
/* =========================================
   GROWTH TRACKER - Premium Apple/Tesla Design
   Spiritual Journey Tracking Interface
   ========================================= */

:root {
    --growth-primary: #10b981;
    --growth-primary-dark: #059669;
    --growth-primary-light: #d1fae5;
    --growth-secondary: #6366f1;
    --growth-accent: #8b5cf6;
    --status-mentioned: #94a3b8;
    --status-started: var(--warning);
    --status-consistent: var(--success);
    --growth-bg: var(--bg);
    --growth-card: var(--surface);
    --growth-text: var(--text);
    --growth-text-secondary: var(--text-secondary);
    --growth-border: var(--border);
    --growth-border-light: var(--border-light);
    --growth-shadow: var(--shadow);
    --growth-shadow-lg: var(--shadow-lg);
    --growth-shadow-xl: var(--shadow-xl);
    --growth-radius: var(--radius-lg);
    --growth-radius-lg: var(--radius-xl);
    --growth-transition: var(--transition-slow);
}

/* Base */
.growth-wrap {
    margin: 20px 20px 40px 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--growth-text);
    -webkit-font-smoothing: antialiased;
}

.growth-wrap * { box-sizing: border-box; }
.growth-content { max-width: 1400px; }

/* Header */
.growth-header {
    background: linear-gradient(135deg, var(--surface) 0%, var(--bg) 100%);
    border-radius: var(--growth-radius-lg);
    padding: 32px 40px 0;
    margin-bottom: 32px;
    box-shadow: var(--growth-shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.growth-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}

.growth-title-section h1 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, var(--growth-primary) 0%, var(--growth-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.growth-subtitle {
    color: var(--growth-text-secondary);
    font-size: 15px;
    margin: 0;
}

.growth-header-actions { display: flex; gap: 12px; }

/* Navigation */
.growth-nav {
    display: flex;
    gap: 32px;
    margin-top: 28px;
    border-top: 1px solid var(--growth-border-light);
}

.growth-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--growth-text-secondary);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    transition: var(--growth-transition);
}

.growth-nav-link:hover { color: var(--growth-primary); }
.growth-nav-link.active {
    color: var(--growth-primary);
    border-bottom-color: var(--growth-primary);
    font-weight: 600;
}

.nav-icon { font-size: 16px; }

/* Buttons */
.growth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: var(--growth-transition);
    text-decoration: none;
    white-space: nowrap;
}

.growth-btn-primary {
    background: linear-gradient(135deg, var(--growth-primary) 0%, var(--growth-primary-dark) 100%);
    color: var(--text-inverse);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.growth-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.growth-btn-secondary {
    background: var(--growth-card);
    color: var(--growth-text);
    border: 1.5px solid var(--growth-border);
}

.growth-btn-secondary:hover {
    background: var(--growth-bg);
    border-color: var(--growth-text-secondary);
}

.btn-icon { font-size: 16px; line-height: 1; }

/* Stats Cards */
.growth-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.growth-stat-card {
    background: var(--growth-card);
    border-radius: var(--growth-radius);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--growth-shadow);
    border: 1px solid var(--growth-border-light);
    transition: var(--growth-transition);
}

.growth-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--growth-shadow-lg);
}

.growth-stat-card.highlight {
    background: linear-gradient(135deg, var(--warning-bg) 0%, #fde68a 100%);
    border-color: var(--warning);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--growth-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.growth-stat-card.highlight .stat-icon { background: var(--surface); }
.stat-content { display: flex; flex-direction: column; }

.stat-number {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--growth-text);
    line-height: 1.1;
}

.stat-label {
    font-size: 13px;
    color: var(--growth-text-secondary);
    margin-top: 4px;
}

/* Sections */
.growth-section {
    background: var(--growth-card);
    border-radius: var(--growth-radius-lg);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--growth-shadow);
    border: 1px solid var(--growth-border-light);
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 24px 0;
    color: var(--growth-text);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-header .section-title { margin: 0; }

.section-desc {
    color: var(--growth-text-secondary);
    margin: -16px 0 24px 0;
    font-size: 14px;
}

/* Status Breakdown */
.status-breakdown { display: flex; gap: 32px; flex-wrap: wrap; }

.status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--growth-bg);
    border-radius: 12px;
    border-left: 4px solid var(--status-color, #666);
}

.status-indicator { font-size: 20px; color: var(--status-color); }
.status-name { font-weight: 600; color: var(--growth-text); }

.status-count {
    font-size: 24px;
    font-weight: 700;
    color: var(--status-color);
    margin-left: auto;
}

/* Activity Feed */
.activity-feed { display: flex; flex-direction: column; gap: 16px; }

.activity-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--growth-bg);
    border-radius: 12px;
    transition: var(--growth-transition);
}

.activity-item:hover { background: var(--growth-border-light); }
.activity-avatar { flex-shrink: 0; }
.activity-avatar img { width: 40px; height: 40px; border-radius: 10px; }
.activity-content { flex: 1; min-width: 0; }

.activity-text {
    margin: 0 0 4px 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--growth-text);
}

.activity-text strong { font-weight: 600; }
.activity-highlight { color: var(--growth-primary); font-weight: 600; }

.student-link {
    color: var(--growth-secondary);
    text-decoration: none;
    font-weight: 600;
}

.student-link:hover { text-decoration: underline; }
.status-change { color: var(--growth-text-secondary); font-size: 13px; }

.status-badge {
    display: inline-block;
    padding: 2px 10px;
    background: var(--badge-color, #666);
    color: var(--text-inverse);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.activity-preview {
    margin: 4px 0 0 0;
    font-size: 13px;
    color: var(--growth-text-secondary);
    font-style: italic;
}

.activity-time { font-size: 12px; color: var(--growth-text-secondary); }

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--growth-text-secondary);
}

.empty-state.small { padding: 30px 20px; }
.empty-state.full-width { grid-column: 1 / -1; }
.empty-icon { font-size: 48px; display: block; margin-bottom: 16px; opacity: 0.5; }
.empty-state p { margin: 0; font-size: 15px; }

/* Students Grid */
.search-box { position: relative; }

.growth-search-input {
    width: 280px;
    padding: 12px 16px 12px 44px;
    border: 1.5px solid var(--growth-border);
    border-radius: 12px;
    font-size: 14px;
    background: var(--growth-card);
    transition: var(--growth-transition);
}

.growth-search-input:focus {
    outline: none;
    border-color: var(--growth-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}

.students-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.student-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background: var(--growth-card);
    border: 1px solid var(--growth-border-light);
    border-radius: var(--growth-radius);
    text-decoration: none;
    color: inherit;
    transition: var(--growth-transition);
    position: relative;
}

.student-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--growth-shadow-lg);
    border-color: var(--growth-primary);
}

.student-avatar img { width: 60px; height: 60px; border-radius: 14px; }
.student-info { flex: 1; }

.student-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: var(--growth-text);
}

.student-email {
    font-size: 13px;
    color: var(--growth-text-secondary);
    margin: 0;
}

.student-progress-mini { display: flex; gap: 16px; }

.mini-stat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--color);
    font-weight: 600;
}

.student-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--growth-text-secondary);
    padding-top: 12px;
    border-top: 1px solid var(--growth-border-light);
}

.card-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--growth-text-secondary);
    opacity: 0;
    transition: var(--growth-transition);
}

.student-card:hover .card-arrow { opacity: 1; right: 16px; }

/* Student Profile */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--growth-text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    transition: var(--growth-transition);
}

.back-link:hover { color: var(--growth-primary); }

.profile-header-card {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, var(--growth-card) 0%, var(--bg) 100%);
    border-radius: var(--growth-radius-lg);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--growth-shadow-lg);
    border: 1px solid var(--growth-border-light);
}

.profile-avatar-large img {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    box-shadow: var(--growth-shadow);
}

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

.profile-name {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 4px 0;
    letter-spacing: -0.01em;
}

.profile-email { color: var(--growth-text-secondary); margin: 0 0 8px 0; }
.profile-meta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.profile-meta { font-size: 13px; color: var(--growth-text-secondary); }
.profile-stats { display: flex; gap: 24px; }

.profile-stat {
    text-align: center;
    padding: 12px 20px;
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--growth-border-light);
}

.profile-stat .stat-icon {
    width: auto;
    height: auto;
    background: none;
    font-size: 20px;
    color: var(--color);
}

.profile-stat .stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--color);
    line-height: 1.2;
}

.profile-stat .stat-label {
    font-size: 11px;
    color: var(--growth-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-actions { display: flex; gap: 12px; }

.profile-columns {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 24px;
}

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

.profile-column { display: flex; flex-direction: column; gap: 24px; }

.column-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: var(--growth-text);
}

/* Milestones List */
.milestone-category {
    background: var(--growth-card);
    border-radius: var(--growth-radius);
    padding: 24px;
    box-shadow: var(--growth-shadow);
    border: 1px solid var(--growth-border-light);
}

.category-header {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--cat-color, #666);
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--cat-color, #666);
    display: flex;
    align-items: center;
    gap: 8px;
}

.milestone-list { display: flex; flex-direction: column; gap: 8px; }

.milestone-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--growth-bg);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--growth-transition);
    position: relative;
}

.milestone-item:hover { background: var(--growth-border-light); }

.milestone-item.has-progress {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.03) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.milestone-item.expanded { border-radius: 10px 10px 0 0; }
.milestone-icon { font-size: 20px; }
.milestone-name { flex: 1; font-weight: 500; font-size: 14px; }

.milestone-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--status-color);
    padding: 4px 12px;
    background: var(--surface);
    border-radius: 20px;
}

.milestone-add {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--growth-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--growth-text-secondary);
    transition: var(--growth-transition);
}

.milestone-item:hover .milestone-add {
    background: var(--growth-primary);
    color: var(--text-inverse);
}

/* Detail Panel */
.milestone-detail-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--growth-card);
    border: 1px solid var(--growth-border);
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 16px;
    z-index: 10;
    box-shadow: var(--growth-shadow-lg);
}

.milestone-item.expanded .milestone-detail-panel { display: block; }
.detail-status-selector { display: flex; gap: 8px; margin-bottom: 12px; }

.status-btn {
    flex: 1;
    padding: 10px 8px;
    border: 2px solid var(--growth-border);
    background: var(--growth-card);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--growth-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.status-btn:hover {
    border-color: var(--btn-color);
    background: rgba(0, 0, 0, 0.02);
}

.status-btn.active {
    border-color: var(--btn-color);
    background: var(--btn-color);
    color: var(--text-inverse);
}

.detail-level-selector { margin-bottom: 12px; }

.detail-level-selector label {
    font-size: 12px;
    font-weight: 600;
    color: var(--growth-text-secondary);
    display: block;
    margin-bottom: 8px;
}

.level-btns { display: flex; gap: 8px; }

.level-btn {
    flex: 1;
    padding: 8px;
    border: 1.5px solid var(--growth-border);
    background: var(--growth-card);
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--growth-transition);
}

.level-btn:hover { border-color: var(--growth-secondary); }

.level-btn.active {
    border-color: var(--growth-secondary);
    background: var(--growth-secondary);
    color: var(--text-inverse);
}


.detail-meta {
    font-size: 12px;
    color: var(--growth-text-secondary);
    margin-bottom: 12px;
}

.detail-note { margin: 8px 0 0 0; font-style: italic; }

.remove-milestone-btn {
    width: 100%;
    padding: 8px;
    border: none;
    background: var(--danger-bg);
    color: var(--danger);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--growth-transition);
}

.remove-milestone-btn:hover { background: var(--danger-bg); filter: brightness(0.95); }

/* Notes */
.notes-section, .timeline-section {
    background: var(--growth-card);
    border-radius: var(--growth-radius);
    padding: 24px;
    box-shadow: var(--growth-shadow);
    border: 1px solid var(--growth-border-light);
}

.section-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-header-inline .column-title { margin: 0; }

.add-note-btn {
    padding: 8px 16px;
    background: var(--growth-primary-light);
    color: var(--growth-primary-dark);
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--growth-transition);
}

.add-note-btn:hover {
    background: var(--growth-primary);
    color: var(--text-inverse);
}

.notes-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
}

.note-item {
    background: var(--growth-bg);
    border-radius: 10px;
    padding: 16px;
    transition: var(--growth-transition);
}

.note-item.pinned {
    background: linear-gradient(135deg, var(--warning-bg) 0%, #fef9c3 100%);
    border: 1px solid var(--warning);
}

.note-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.note-category { font-size: 16px; }
.note-author { font-weight: 600; font-size: 13px; color: var(--growth-text); }
.note-time { font-size: 12px; color: var(--growth-text-secondary); }

.note-actions {
    margin-left: auto;
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: var(--growth-transition);
}

.note-item:hover .note-actions { opacity: 1; }

.note-action-btn {
    padding: 4px 8px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
    transition: var(--growth-transition);
}

.note-action-btn:hover { background: rgba(0, 0, 0, 0.05); }
.note-content { font-size: 14px; line-height: 1.6; color: var(--growth-text); }

/* Timeline */
.timeline { position: relative; padding-left: 24px; }

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--growth-border);
}

.timeline-item { position: relative; padding-bottom: 20px; }
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: -24px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--dot-color, #666);
    border: 3px solid var(--growth-card);
    box-shadow: 0 0 0 2px var(--dot-color, #666);
}

.timeline-content { display: flex; flex-direction: column; gap: 4px; }
.timeline-milestone { font-weight: 600; font-size: 14px; color: var(--growth-text); }
.timeline-status, .timeline-change { font-size: 12px; color: var(--growth-text-secondary); }
.timeline-time { font-size: 11px; color: var(--growth-text-secondary); }

/* Settings */
.milestones-settings-list { display: flex; flex-direction: column; gap: 24px; }

.settings-category {
    background: var(--growth-bg);
    border-radius: var(--growth-radius);
    padding: 20px;
}

.settings-category-header {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--cat-color, #666);
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.settings-milestone-list { display: flex; flex-direction: column; gap: 8px; }

.settings-milestone-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--growth-card);
    border-radius: 8px;
    border: 1px solid var(--growth-border-light);
    transition: var(--growth-transition);
}

.settings-milestone-item:hover { border-color: var(--growth-border); }
.settings-milestone-item.inactive { opacity: 0.5; }
.drag-handle { color: var(--growth-text-secondary); cursor: grab; font-size: 14px; letter-spacing: 2px; }
.milestone-icon-preview { font-size: 20px; }
.milestone-name-preview { flex: 1; font-weight: 500; }

.levels-badge, .inactive-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.levels-badge { background: var(--growth-secondary); color: var(--text-inverse); }
.inactive-badge { background: var(--growth-text-secondary); color: var(--text-inverse); }
.milestone-actions { display: flex; gap: 8px; }

.action-btn {
    padding: 6px 10px;
    background: none;
    border: 1px solid var(--growth-border);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--growth-transition);
}

.action-btn:hover { background: var(--growth-bg); }
.no-milestones { color: var(--growth-text-secondary); font-size: 13px; font-style: italic; margin: 0; }

/* Modals */
.growth-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.growth-modal.open {
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.growth-modal-content {
    background: var(--growth-card);
    border-radius: var(--growth-radius-lg);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--growth-shadow-xl);
}

.growth-modal.open .growth-modal-content {
    transform: scale(1) translateY(0);
}

.growth-modal-content.medium { max-width: 600px; }

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid var(--growth-border-light);
}

.modal-header h3 { margin: 0; font-size: 20px; font-weight: 700; }

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--growth-bg);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--growth-text-secondary);
    transition: var(--growth-transition);
}

.modal-close:hover {
    background: var(--growth-border);
    color: var(--growth-text);
}

.modal-body { padding: 28px; overflow-y: auto; }

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 28px;
    border-top: 1px solid var(--growth-border-light);
    background: var(--growth-bg);
}

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group:last-child { margin-bottom: 0; }

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--growth-text);
    margin-bottom: 8px;
}

.form-row { display: flex; gap: 16px; }
.form-group.half { flex: 1; }

.growth-input, .growth-select, .growth-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--growth-border);
    border-radius: 10px;
    font-size: 14px;
    background: var(--growth-card);
    transition: var(--growth-transition);
    font-family: inherit;
}

.growth-input:focus, .growth-select:focus, .growth-textarea:focus {
    outline: none;
    border-color: var(--growth-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.growth-textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: 12px; color: var(--growth-text-secondary); margin: 6px 0 0 0; }
.checkbox-label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.checkbox-label input { width: 18px; height: 18px; accent-color: var(--growth-primary); }
.checkbox-label span { font-weight: 500; }

.status-radio-group { display: flex; gap: 12px; }
.status-radio { flex: 1; cursor: pointer; }
.status-radio input { display: none; }

.status-radio-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    background: var(--growth-bg);
    border: 2px solid var(--growth-border);
    border-radius: 12px;
    transition: var(--growth-transition);
}

.status-radio input:checked + .status-radio-display {
    border-color: var(--status-color);
    background: rgba(16, 185, 129, 0.05);
}

.status-icon { font-size: 24px; color: var(--status-color); }
.status-label { font-size: 13px; font-weight: 600; color: var(--growth-text); }
.category-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.category-chip { cursor: pointer; }
.category-chip input { display: none; }

.chip-display {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--growth-bg);
    border: 1.5px solid var(--growth-border);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: var(--growth-transition);
}

.category-chip input:checked + .chip-display {
    border-color: var(--growth-primary);
    background: var(--growth-primary-light);
    color: var(--growth-primary-dark);
}

.level-radio-group { display: flex; gap: 10px; }

/* Toast */
.growth-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--growth-text);
    color: var(--text-inverse);
    padding: 14px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--growth-shadow-xl);
    z-index: 100001;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.growth-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.growth-toast.success { background: var(--growth-primary); }
.growth-toast.error { background: var(--danger); }
.toast-icon { font-size: 18px; }

/* Responsive */
@media (max-width: 768px) {
    .growth-header { padding: 24px 20px 0; }
    .growth-header-top { flex-direction: column; align-items: flex-start; }
    .growth-header-actions { width: 100%; }
    .growth-header-actions .growth-btn { flex: 1; }
    .growth-nav { gap: 20px; overflow-x: auto; padding-bottom: 4px; }
    .growth-section { padding: 20px; }
    .growth-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .profile-header-card { flex-direction: column; text-align: center; }
    .profile-stats { flex-wrap: wrap; justify-content: center; }
    .profile-actions { width: 100%; }
    .profile-actions .growth-btn { flex: 1; }
    .students-grid { grid-template-columns: 1fr; }
    .growth-search-input { width: 100%; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .status-breakdown { flex-direction: column; gap: 12px; }
}

