/* ─────────────────────────────────────────────
   Genius Tuition — Frontend Styles
   ───────────────────────────────────────────── */

.genius-registration {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Steps indicator */
.genius-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.genius-steps::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: #ddd;
    z-index: 0;
}

.genius-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.genius-step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ddd;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.genius-step.active .genius-step-number,
.genius-step.completed .genius-step-number {
    background: #2563eb;
    color: #fff;
}

.genius-step.completed .genius-step-number {
    background: #16a34a;
}

.genius-step-label {
    font-size: 12px;
    color: #888;
    text-align: center;
}

.genius-step.active .genius-step-label {
    color: #2563eb;
    font-weight: 600;
}

/* Form elements */
.genius-form-step h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px;
    color: #1a1a1a;
}

.genius-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .genius-form-row {
        grid-template-columns: 1fr;
    }
}

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

.genius-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.genius-form-group .required {
    color: #dc2626;
}

.genius-form-group input,
.genius-form-group select,
.genius-form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.genius-form-group input:focus,
.genius-form-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Buttons */
.genius-btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.genius-btn-next,
.genius-btn-submit {
    background: #2563eb;
    color: #fff;
}

.genius-btn-next:hover,
.genius-btn-submit:hover {
    background: #1d4ed8;
}

.genius-btn-prev {
    background: #f3f4f6;
    color: #374151;
}

.genius-btn-prev:hover {
    background: #e5e7eb;
}

.genius-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.genius-btn-small {
    padding: 6px 14px;
    font-size: 13px;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
}

.genius-form-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
}

/* Class selection cards */
.genius-class-option {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.genius-class-option:hover {
    border-color: #2563eb;
    background: #f0f4ff;
}

.genius-class-option.selected {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.genius-class-option h3 {
    margin: 0 0 6px;
    font-size: 18px;
    color: #1a1a1a;
}

.genius-class-option .genius-class-time {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 8px;
}

.genius-class-option .genius-class-subjects {
    font-size: 14px;
    color: #374151;
    margin: 0 0 8px;
}

.genius-class-option .genius-class-price {
    font-size: 20px;
    font-weight: 700;
    color: #2563eb;
}

.genius-class-option .genius-class-price small {
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
}

.genius-day-selector {
    margin-top: 12px;
}

.genius-day-selector label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    margin-bottom: 6px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.genius-day-selector label:hover {
    border-color: #2563eb;
    background: #f0f4ff;
}

.genius-day-selector label.selected {
    border-color: #2563eb;
    background: #eff6ff;
}

.genius-must-both-notice {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #92400e;
    margin-bottom: 16px;
}

.genius-b-class-notice {
    background: #fef2f2;
    border: 1px solid #ef4444;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #991b1b;
    margin-bottom: 16px;
}

.genius-class-full-notice {
    background: #fef2f2;
    border: 1px solid #ef4444;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    color: #991b1b;
    font-weight: 600;
}

/* Review card */
.genius-review-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.genius-review-card h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    margin: 16px 0 8px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.genius-review-card h3:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.genius-review-card p {
    margin: 4px 0;
    font-size: 15px;
    color: #1a1a1a;
}

/* Signature */
.genius-signature-wrapper {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    display: inline-block;
}

.genius-signature-wrapper canvas {
    display: block;
    background: #fff;
    cursor: crosshair;
}

/* Disclaimer */
.genius-disclaimer {
    background: #fff7ed;
    border: 1px solid #fb923c;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
    font-size: 14px;
    color: #9a3412;
}

.genius-disclaimer label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.genius-disclaimer input[type="checkbox"] {
    margin-top: 3px;
    width: auto;
}

/* Messages */
#genius-form-messages {
    margin-top: 16px;
}

.genius-message {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 12px;
}

.genius-message-success {
    background: #f0fdf4;
    border: 1px solid #22c55e;
    color: #166534;
}

.genius-message-error {
    background: #fef2f2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

.genius-info {
    color: #6b7280;
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

/* ─── Student Dashboard ──────────────────────── */

.genius-dashboard {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.genius-dashboard h2 {
    font-size: 24px;
    margin: 0 0 24px;
    color: #1a1a1a;
}

.genius-dashboard-empty {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

.genius-dashboard-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    background: #fff;
}

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

.genius-dashboard-header h3 {
    margin: 0;
    font-size: 20px;
    color: #1a1a1a;
}

.genius-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.genius-status-active {
    background: #dcfce7;
    color: #166534;
}

.genius-status-pending {
    background: #fef3c7;
    color: #92400e;
}

.genius-status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.genius-dashboard-details {
    margin-bottom: 20px;
}

.genius-detail-row {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
}

.genius-detail-row strong {
    width: 140px;
    flex-shrink: 0;
    color: #6b7280;
}

.genius-detail-row span {
    color: #1a1a1a;
}

.genius-dashboard-schedule,
.genius-dashboard-sessions,
.genius-dashboard-zoom {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.genius-dashboard-schedule h4,
.genius-dashboard-sessions h4,
.genius-dashboard-zoom h4 {
    font-size: 16px;
    margin: 0 0 12px;
    color: #374151;
}

.genius-schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.genius-schedule-table th,
.genius-schedule-table td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid #f3f4f6;
}

.genius-schedule-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #6b7280;
    font-size: 12px;
    text-transform: uppercase;
}

.genius-session-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.genius-session-list li {
    padding: 8px 12px;
    border-left: 3px solid #2563eb;
    margin-bottom: 6px;
    font-size: 14px;
    color: #374151;
    background: #f9fafb;
    border-radius: 0 6px 6px 0;
}

.genius-zoom-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 14px;
}

.genius-zoom-row a {
    background: #2563eb;
    color: #fff;
    padding: 6px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.genius-zoom-row a:hover {
    background: #1d4ed8;
}

.genius-zoom-pass {
    font-size: 12px;
    color: #6b7280;
}

.genius-dashboard-support {
    text-align: center;
    margin-top: 30px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
    font-size: 14px;
    color: #6b7280;
}

.genius-not-logged-in {
    text-align: center;
    padding: 40px;
}

.genius-not-logged-in a {
    color: #2563eb;
    font-weight: 600;
}
