/* Custom styles for CHARLIE */

:root {
    --radius-item: 10px;
    --radius-lg: 4px;
    --radius-sm: 2px;
    --sidebar-width: 110px;
}

/* =============================================
   Top Bar (persistent header on every page)
   ============================================= */
.top-bar {
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1040;
    padding: 10px 0;
    height: 72px;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.top-bar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.top-bar-logo img {
    width: 182px;
    height: 48px;
}

.top-bar-logout {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--radius-lg);
    transition: background-color 0.2s, color 0.2s;
}

.top-bar-logout:hover {
    background-color: #f0f0f0;
    color: #111;
    text-decoration: none;
}

/* Auth page top bar override: position absolutely so it doesn't affect centering */
.auth-page .top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: none;
    background-color: transparent;
}

/* Dropdown submenu styles */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    right: 100%;
    margin-top: -1px;
}

.dropdown-submenu:hover .dropdown-menu,
.dropdown-submenu:focus-within .dropdown-menu {
    display: block;
}

.dropdown-submenu .dropdown-toggle::after {
    transform: rotate(-90deg);
    float: right;
    margin-top: 8px;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.dashboard-bg {
    background-color: #f0f1f4;
}


.footer {
    margin-top: auto;
}

.footer-brand-text {
    color: #07a8a3;
    font-size: 0.8rem;
}

.auth-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* =============================================
   Auth Pages (Login / Sign Up)
   ============================================= */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 20px;
}

.auth-bg-login {
    background: linear-gradient(160deg, #ede7f6 0%, #d1c4e9 30%, #f3e5f5 60%, #e8eaf6 100%);
}

.auth-bg-signup {
    background: linear-gradient(160deg, #5c4d7a 0%, #4a6a8a 40%, #5a9aaa 80%, #6ab0a0 100%);
}

.auth-container {
    width: 100%;
    max-width: 480px;
}

.auth-messages {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    width: 90%;
    max-width: 480px;
}

.auth-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 40px 36px;
}

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

.auth-logo {
    height: 64px;
    margin-bottom: 20px;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.auth-subtitle {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.auth-form-group {
    margin-bottom: 18px;
}

.auth-form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.auth-form-group .form-control {
    border: 1px solid #d1d5db;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.auth-form-group .form-control:focus {
    border-color: #7c5a9a;
    box-shadow: 0 0 0 3px rgba(124, 90, 154, 0.15);
}

.auth-btn {
    width: 100%;
    padding: 12px;
    background-color: #7c5a9a;
    color: #fff;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 8px;
    transition: background-color 0.2s ease;
}

.auth-btn:hover {
    background-color: #6a4a88;
}

.auth-terms {
    text-align: center;
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 16px;
    margin-bottom: 0;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
}

.auth-footer p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

.auth-footer a {
    color: #2aa198;
    font-weight: 500;
    text-decoration: none;
}

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

@media (max-width: 520px) {
    .auth-card {
        padding: 28px 20px;
    }
}

/* Form styling */
.form-group {
    position: relative;
    clear: both;
    overflow: visible;
    margin-bottom: 30px;
    display: block;
}

/* Learning needs container styles */
.learning-needs-container {
    display: block;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    clear: both;
}

/* Fix for checkbox list */
.learning-needs-container ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
}

/* Fix for checkbox items */
.learning-needs-container li {
    display: block;
    margin-bottom: 10px;
    clear: both;
    width: 100%;
}

/* Fix for checkbox alignment */
.learning-needs-container input[type="checkbox"] {
    margin-right: 8px;
    vertical-align: top;
    float: left;
    margin-top: 5px;
}

/* Fix for checkbox labels */
.learning-needs-container label {
    display: inline-block;
    margin-left: 0;
    margin-bottom: 10px;
    width: 90%;
    max-width: 90%;
    word-wrap: break-word;
    text-align: left;
}

/* Other text field container */
#other_text_container {
    margin-top: 15px;
    margin-bottom: 15px;
    padding-top: 5px;
    clear: both;
}

/* Fix for profile dropdown to ensure it's below learning needs */
#id_profile {
    margin-top: 10px;
    clear: both;
}

#other_text_container {
    margin-top: 10px;
    margin-bottom: 15px;
}

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

.btn-primary {
    @apply bg-primary;
}

.btn-primary:hover {
    @apply bg-primary:hover;
}

.navbar-brand {
    font-weight: bold;
}



/* Fix for tooltip on disabled dropdown items */
.dropdown-item.disabled {
    pointer-events: auto;    /* re-enable hover/focus */
    cursor: not-allowed;     /* keep the disabled look */
}

@media (max-width: 767px) {
    .dropdown-item {
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

.password-requirements-container {
    margin-top: 0.5rem;
}

.password-requirements-toggle {
    font-size: 0.8rem;
    color: #6c757d;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.password-requirements-toggle:hover {
    color: #5a6268;
    text-decoration: none;
}

.password-requirements {
    font-size: 0.8rem;
    color: #6c757d;
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: var(--radius-lg);
}

/* UoC Lookup Page Styles */
.header {
    text-align: center;
    margin-bottom: 30px;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.search-form input {
    padding: 10px;
    font-size: 16px;
}

.search-form button {
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.error {
    color: red;
    text-align: center;
    margin-top: 20px;
}

/* UoC Detail Page Styles */
.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #007bff;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

.section {
    margin-bottom: 30px;
    border: 1px solid #ddd;
    border-radius: var(--radius-lg);
    padding: 15px;
}

.section h2 {
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.info-row {
    display: flex;
    margin-bottom: 10px;
}

.info-label {
    width: 200px;
    font-weight: bold;
}

.info-value {
    flex: 1;
}

.mapping-item {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: var(--radius-lg);
}

.releases-item {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: var(--radius-lg);
}

.download-section {
    margin-top: 30px;
}

.download-list {
    list-style-type: none;
    padding: 0;
}

.download-item {
    margin-bottom: 10px;
}

.download-link {
    display: inline-block;
    padding: 8px 15px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: var(--radius-lg);
    margin-right: 10px;
    margin-top: 20px;
}

.download-link:hover {
    background-color: #0056b3;
}

/* UoC Parsed Content Styles */
.file-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.file-type {
    background-color: #f0f0f0;
    padding: 4px 8px;
    border-radius: var(--radius-lg);
    margin-left: 10px;
    font-size: 0.9em;
}

.sample-notice {
    background-color: #fff3cd;
    color: #856404;
    padding: 10px 15px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    border: 1px solid #ffeeba;
}

.markdown-content {
    line-height: 1.6;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.markdown-content p {
    margin-top: 0.5em;
    margin-bottom: 1em;
}

.markdown-content ul,
.markdown-content ol {
    margin-bottom: 1em;
}

.markdown-content blockquote {
    border-left: 4px solid #ddd;
    padding-left: 1em;
    margin-left: 0;
    color: #666;
}

.markdown-content pre {
    background-color: #f5f5f5;
    padding: 1em;
    border-radius: var(--radius-lg);
    overflow-x: auto;
}

.markdown-content code {
    background-color: #f5f5f5;
    padding: 2px 4px;
    border-radius: var(--radius-lg);
}

.loading-message {
    font-style: italic;
    color: #666;
    text-align: center;
    padding: 2em;
}

.error-message {
    color: #dc3545;
    background-color: #f8d7da;
    padding: 15px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

/* Course form styles */
.form-check {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}

.form-check-input {
    margin-top: 0.3rem;
    margin-right: 0.5rem;
}

.form-check-label {
    margin-bottom: 0;
}

.conditional-fieldset {
    display: none;
}

.conditional-fieldset.show {
    display: block;
}

.other-field {
    display: none;
}

.other-field.show {
    display: block;
}

/* Ensure proper spacing in fieldsets */
.card-body {
    padding: 1.25rem;
}

/* Scrollable content card bodies for artifact generation */
.glossary-card-body,
.rewrite-card-body,
.recommendations-card-body {
    padding: 1.25rem;
    max-height: 300px;
    overflow-y: auto;
}

.card-header h5 {
    margin-bottom: 0;
}

/* Fix for radio buttons and checkboxes alignment */
input[type="radio"],
input[type="checkbox"] {
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Ensure proper spacing between form elements */
.form-control,
.form-select {
    margin-bottom: 0.5rem;
    border-radius: var(--radius-sm);
}

/* Fix for label alignment */
label {
    display: block;
    margin-bottom: 0.5rem;
}

/* Fix for help text */
.form-text {
    display: block;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

/* Checkbox options container */
.checkbox-options {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

/* Radio options container */
.radio-options {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

/* Card styling for fieldsets */
.card {
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: var(--radius-lg);
}

.card-header {
    padding: 0.75rem 1.25rem;
    background-color: rgba(0,0,0,.03);
    border-bottom: 1px solid rgba(0,0,0,.125);
}

/* Generate Document button styling */
.btn-generate-document {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-generate-document i {
    display: inline-block;
}

/* Logo styling */
.vortex-logo {
    max-width: 300px;
    margin: 0 auto 20px;
    display: block;
}

/* Title suggestion popup styling */
.field-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.title-suggestion-popup {
    position: absolute;
    border: 1px solid #ced4da;
    border-radius: var(--radius-lg);
    padding: 0.4rem 0.7rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    background-color: #fff;
    z-index: 1000;
    cursor: pointer;
    left: 0;
    top: 100%;
    width: 100%;
    box-sizing: border-box;
    font-size: 0.95rem;
}

.title-suggestion-popup[hidden] {
    display: none;
}

.suggestion-option {
    cursor: pointer;
    padding: 0.5rem;
    border-bottom: 1px solid #f8f9fa;
}

.suggestion-option:hover {
    background-color: #f8f9fa;
}

/* Clickable course card styles */
.course-card-clickable {
    cursor: pointer;
    transition: border-color 0.2s ease;
    position: relative;
    border: 1px solid #dee2e6;
}

.course-card-clickable:hover {
    border-color: #0056b3;
}

.course-card-clickable.active {
    border-color: #007bff;
    background-color: #f8f9fa;
    color: black;
}

.course-dropdown-menu {
    position: absolute;
    z-index: 1000;
    display: none;
}

/* =============================================
   Multi-step Wizard Form Styles
   Reusable pattern for all long input forms
   ============================================= */

.wizard-hidden {
    display: none !important;
}

/* Progress indicator */
.wizard-progress {
    margin-bottom: 1.5rem;
}

.wizard-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #555;
}

.wizard-progress-label {
    font-weight: 500;
}

.wizard-progress-count {
    color: #888;
}

.wizard-progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.wizard-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #17a2b8, #20c997);
    border-radius: var(--radius-lg);
    transition: width 0.4s ease;
}

/* Section header card */
.wizard-section-header {
    border-left: 4px solid #17a2b8;
    background-color: #f8f9fa;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.wizard-section-header h4 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.wizard-section-header p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Fieldset cards in wizard */
.wizard-fieldset {
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
}

.wizard-fieldset-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.wizard-field-label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.wizard-select-hint {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

/* Clickable option pills */
.wizard-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.wizard-option {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border: 1.5px solid #d0d0d0;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #fff;
    margin-bottom: 0;
}

.wizard-option:hover {
    border-color: #17a2b8;
    background-color: #f0fafb;
}

.wizard-option input[type="checkbox"],
.wizard-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wizard-option:focus-within {
    outline: 2px solid #17a2b8;
    outline-offset: 2px;
}

.wizard-option-text {
    flex: 1;
    font-size: 0.95rem;
}

.wizard-option-check {
    font-size: 1.25rem;
    color: transparent;
    transition: color 0.2s ease;
    margin-left: 0.5rem;
}

/* Selected state */
.wizard-option.selected {
    border-color: #17a2b8;
    background-color: #e6f7fa;
}

.wizard-option.selected .wizard-option-check {
    color: #17a2b8;
}

/* Wizard navigation */
.wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.wizard-nav-back {
    background: none;
    border: none;
    color: #888;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
}

.wizard-nav-back:hover {
    color: #555;
}

.wizard-nav-next {
    background-color: #4a2040;
    color: #fff;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    cursor: pointer;
}

.wizard-nav-next:hover {
    background-color: #3a1830;
    color: #fff;
}

/* Wizard radio card for selection lists */
.wizard-radio-card {
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.wizard-radio-card:has(input:checked) {
    border-color: #17a2b8;
    background-color: #e6f7fa;
}

/* =============================================
   Teacher Profiles List View
   Matches dashboard card aesthetic
   ============================================= */

.profiles-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
}

.profiles-header {
    margin-bottom: 24px;
}

.profiles-header h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.profiles-header p {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 0;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.profile-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
}

.profile-card:has(.dropdown-menu.show) {
    z-index: 1050;
}

.profile-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.profile-card-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-card-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    background-color: #663166;
    flex-shrink: 0;
}

.profile-card-name {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.profile-actions-btn {
    background-color: #07a8a3;
    color: #fff;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 14px;
}

.profile-actions-btn:hover,
.profile-actions-btn:focus {
    background-color: #069793;
    color: #fff;
}

.profile-actions-btn.show {
    background-color: #069793;
    color: #fff;
}

.btn-purple,
.profiles-add-btn {
    background-color: #663166;
    color: #fff;
    border: none;
    border-radius: var(--radius-lg);
    padding: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.btn-purple:hover,
.profiles-add-btn:hover {
    background-color: #4a2040;
    color: #fff;
}

a.profile-card-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.teaching-set-card-details {
    margin-top: 8px;
    padding-left: 52px;
}

/* Teaching Set Detail Page */
.ts-detail-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.ts-detail-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: var(--radius-lg);
    padding: 20px 24px;
}

.ts-detail-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.15rem;
    background-color: #663166;
    flex-shrink: 0;
}

.ts-detail-card-body {
    flex: 1;
    min-width: 0;
}

.ts-detail-card-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    margin-bottom: 4px;
}

.ts-detail-card-value {
    font-size: 1.05rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0;
}

.ts-output-section {
    margin-bottom: 32px;
}

.ts-output-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ts-output-description {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 12px;
}

.ts-output-textarea {
    width: 100%;
    min-height: 400px;
    padding: 16px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    border: 1px solid #dee2e6;
    border-radius: var(--radius-sm);
    background-color: #f8f9fa;
    color: #333;
    resize: vertical;
}

.ts-stale-alert {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
    border-radius: var(--radius-lg);
    padding: 12px 16px;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.ts-stale-alert i {
    margin-right: 6px;
}

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

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

    .profiles-header h1 {
        font-size: 1.4rem;
    }
}

/* =============================================
   Profile Completion / Onboarding Page
   ============================================= */

.profile-completion-bg {
    background-color: #f8f9fa;
}

.onboarding-wrapper {
    max-width: 640px;
    margin: 0 auto;
    padding: 20px 16px 40px;
}

.onboarding-breadcrumb {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 16px;
}

.onboarding-card {
    background: #fff;
    padding: 40px 36px;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.onboarding-card .form-control {
    border: 1px solid #d1d5db;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
}

.onboarding-card .form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
}

.btn-teal {
    background-color: #07a8a3;
    color: #fff;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.btn-teal:hover {
    background-color: #069793;
    color: #fff;
}

@media (max-width: 520px) {
    .onboarding-card {
        padding: 28px 20px;
    }
}

/* =============================================
   Onboarding Tour (Driver.js overrides)
   ============================================= */
.driver-popover {
    max-width: 420px;
}

.driver-popover-title {
    color: #663166;
    font-size: 1.05rem;
    font-weight: 600;
}

.driver-popover-description {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.5;
}

.driver-popover-next-btn,
.driver-popover-close-btn {
    background-color: #663166;
    color: #fff;
    border: none;
    border-radius: var(--radius-lg);
    padding: 6px 16px;
    font-size: 0.9rem;
    text-shadow: none;
}

.driver-popover-next-btn:hover,
.driver-popover-close-btn:hover {
    background-color: #4a2040;
}

.driver-popover-prev-btn {
    color: #663166;
    border: 1px solid #663166;
    border-radius: var(--radius-lg);
    padding: 6px 16px;
    font-size: 0.9rem;
}

.driver-popover-prev-btn:hover {
    background-color: #f3e8f3;
}

button.driver-popover-skip-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 0.85rem;
    padding: 4px 8px;
    cursor: pointer;
}

button.driver-popover-skip-btn:hover {
    color: #555;
}
