* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    padding: 40px 20px;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    background: var(--psy-primary-bg, #f4f6f3);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
    white-space: nowrap;
}

.subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 2rem;
}

/* Intent Grid */
.intent-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

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

.intent-card {
    background: white;
    border: 2px solid #e2e8f0;
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 140px;
}

.intent-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--psy-primary, #8B9D83);
}

.intent-card.selected {
    border-color: var(--psy-primary, #8B9D83);
    background: var(--psy-primary-bg, #f4f6f3);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.card-emoji {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.card-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.card-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Steps */
.step {
    display: none;
}

.step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Multi-Step Progress */
.multistep-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.multistep-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e2e8f0;
    z-index: 0;
}

.progress-fill {
    position: absolute;
    top: 20px;
    left: 0;
    height: 2px;
    background: var(--psy-primary, #8B9D83);
    transition: width 0.3s ease;
    z-index: 1;
}

.step-indicator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #94a3b8;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step-indicator.active {
    background: var(--psy-primary, #8B9D83);
    color: white;
}

.step-indicator.completed {
    background: #10b981;
    color: white;
}

/* Form Fields */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #374151;
    font-size: 0.875rem;
}

.required {
    color: #ef4444;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="time"],
select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--psy-primary, #8B9D83);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

select {
    cursor: pointer;
    background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 100%);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23666' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
    font-weight: 500;
    color: #374151;
}

select:hover {
    border-color: var(--psy-primary, #8B9D83);
    background: linear-gradient(to bottom, #ffffff 0%, var(--psy-primary-bg, #f4f6f3) 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

select:disabled {
    background: #f3f4f6;
    cursor: not-allowed;
    opacity: 0.6;
}

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

/* Two Column Layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

/* Email Verification Styles */
.email-input-wrapper {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.email-input-wrapper input[type="email"] {
    flex: 1 1 auto;
    width: auto;
    min-width: 250px;
    max-width: 100%;
}

.btn-verify-trigger {
    background: var(--psy-primary, #8B9D83);
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-verify-trigger:hover {
    background: var(--psy-primary-hover, #7a8c73);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-verify-trigger:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    transform: none;
}

.verify-success-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.inline-verify-area {
    margin-top: 0.75rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
}

.verify-controls {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.verify-code-input {
    flex: 1;
    min-width: 120px;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: monospace;
    letter-spacing: 0.1em;
    text-align: center;
}

.verify-code-input:focus {
    outline: none;
    border-color: var(--psy-primary, #8B9D83);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.btn-verify-confirm,
.btn-verify-resend {
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-verify-confirm {
    background: #10b981;
    color: white;
}

.btn-verify-confirm:hover {
    background: #059669;
    transform: translateY(-1px);
}

.btn-verify-resend {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.btn-verify-resend:hover {
    background: #e2e8f0;
}

.verify-status-msg {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    padding: 0.5rem;
    border-radius: 0.375rem;
}

.verify-status-msg.success {
    color: #059669;
    background: #d1fae5;
}

.verify-status-msg.error {
    color: #dc2626;
    background: #fee2e2;
}

/* Mobile Responsive for Email Verification */
@media (max-width: 640px) {
    .email-input-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .email-input-wrapper input[type="email"] {
        width: 100%;
    }

    .btn-verify-trigger {
        width: 100%;
        padding: 0.875rem 1rem;
    }

    .verify-controls {
        flex-direction: column;
    }

    .verify-code-input {
        width: 100%;
        min-width: 0;
    }

    .btn-verify-confirm,
    .btn-verify-resend {
        width: 100%;
        padding: 0.875rem 1rem;
    }
}

/* Radio Group */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 1rem;
    margin-top: 0.5rem;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #4b5563;
}

.checkbox-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Card Select Grid */
.card-select-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 640px) {
    body {
        padding: 10px 6px;
    }

    .container {
        max-width: 100%;
        padding: 16px 12px;
        border-radius: 8px;
    }

    h1 {
        font-size: 1.75rem;
    }

    .card-select-grid {
        grid-template-columns: 1fr;
    }
}

.card-option {
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.card-option:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--psy-primary, #8B9D83);
}

.card-option.selected {
    border-color: var(--psy-primary, #8B9D83);
    background: var(--psy-primary-bg, #f4f6f3);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

/* Selection Mode */
.card-select-grid.selection-active .card-option:not(.selected) {
    display: none;
}

.card-select-grid.selection-active {
    grid-template-columns: 1fr;
}

.card-select-grid.selection-active .card-option.selected {
    cursor: pointer;
    border-style: solid;
    max-width: 100%;
}

.psy-track-reference {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    animation: fadeIn 0.4s ease;
    overflow: hidden;
    /* 強制防止溢出 */
}

.psy-track-content {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    /* 內部內容過寬時出現捲軸 */
    -webkit-overflow-scrolling: touch;
}

/* PsyTrack 分頁：隱藏數字，僅保留上下頁按鈕，防止閃爍 */
.psy-instant-pagination a.psy-page-num,
.psy-instant-pagination .page-numbers:not(.prev):not(.next),
.psy-instant-pagination .dots,
.psy-instant-pagination .psy-pagination-dots {
    display: none !important;
}

/* 確保上下頁按鈕與文字指示器樣式正確 */
.psy-instant-pagination {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.psy-instant-pagination a.prev,
.psy-instant-pagination a.next,
.psy-instant-pagination a.psy-prev,
.psy-instant-pagination a.psy-next {
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    min-width: 40px;
    height: 36px;
    padding: 0 12px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.2s;
}

.psy-instant-pagination a:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.psy-page-indicator {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
    background: #f8fafc;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

/* 隱藏預設可能產生的項目符號 */
.psy-track-content ul.page-numbers {
    list-style: none;
    padding: 0;
    margin: 0;
}

.psy-track-content ul.page-numbers li {
    display: inline-block;
}

/* 隱藏 PsyTrack 內建標題 (如「演講紀錄」) 並美化分隔線 */
.psy-track-content .psy-track-title,
.psy-track-content .psy-list-header,
.psy-track-content .psy-track-main-title,
.psy-track-content h1,
.psy-track-content h2,
.psy-track-content h3,
.psy-track-content h4 {
    display: none !important;
}

/* 將 PsyTrack 的藍色分隔線改為主題色 */
.psy-track-content .header-divider,
.psy-track-content .psy-track-header,
.psy-track-content .psy-list-title-wrapper,
.psy-track-content [style*="border-bottom: 2px solid rgb(59, 130, 246)"],
.psy-track-content [style*="border-bottom: 2px solid #3b82f6"] {
    border-bottom: 2px solid var(--psy-primary, #8FA08E) !important;
    margin-bottom: 1.5rem !important;
}

/* 通用的分隔線強化 */
.psy-track-content .psy-track-header {
    border-bottom: 2px solid var(--psy-primary, #8FA08E) !important;
}

.card-desc {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

/* Time Slots Grid - Card Based Layout */
.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1rem;
}

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

.time-slot-card {
    position: relative;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.time-slot-card:hover {
    border-color: var(--psy-primary, #8B9D83);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.time-slot-field {
    margin-bottom: 1rem;
}

.time-slot-field:last-child {
    margin-bottom: 0;
}

.time-slot-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.time-slot-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.time-slot-input:focus {
    outline: none;
    border-color: var(--psy-primary, #8B9D83);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.time-slot-remove {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #ef4444;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.time-slot-remove:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.btn-add {
    background: #10b981;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    cursor: pointer;
    font-weight: 600;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.btn-add:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back {
    background: transparent;
    color: var(--psy-primary, #8B9D83);
}

.btn-back:hover {
    transform: translateX(-4px);
}

.btn-next,
.btn-submit {
    background: var(--psy-primary, #8B9D83);
    color: white;
}

.btn-next:hover,
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    background: var(--psy-primary-hover, #7a8c73);
}

.hidden {
    display: none;
}

/* Success Screen */
.success-screen {
    text-align: center;
    padding: 3rem 0;
}

.success-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.success-message {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.75;
}

/* File Upload Area */
.file-upload-area {
    border: 2px dashed #e2e8f0;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.upload-placeholder {
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-placeholder:hover {
    transform: translateY(-2px);
}

.file-upload-area:hover {
    border-color: var(--psy-primary, #8B9D83);
    background-color: var(--psy-primary-bg, #f9faf9);
}

.file-preview {
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--psy-primary-bg, #f4f6f3);
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--psy-primary, #8B9D83);
}

.file-info span {
    color: #374151;
    font-weight: 500;
}

.btn-remove-file {
    background: #ef4444;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-remove-file:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* Time Slot Grid */
.time-slot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

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

.consult-time-card {
    position: relative;
    cursor: pointer;
}

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

.time-slot-content {
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
    background: white;
}

.consult-time-card:hover .time-slot-content {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    border-color: var(--psy-primary, #8B9D83);
}

.consult-time-card input[type="radio"]:checked+.time-slot-content,
.consult-time-card input[type="checkbox"]:checked+.time-slot-content {
    border-color: var(--psy-primary, #8B9D83);
    background: var(--psy-primary-bg, #f4f6f3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.time-slot-time {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
}

.consult-time-card input[type="radio"]:checked+.time-slot-content .time-slot-time,
.consult-time-card input[type="checkbox"]:checked+.time-slot-content .time-slot-time {
    color: var(--psy-primary, #8B9D83);
}

/* Data Summary */
.data-summary {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    margin: 2rem 0 1.5rem 0;
    overflow: hidden;
}

.summary-header {
    background: var(--psy-primary, #8B9D83);
    color: white;
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
}

.summary-content {
    padding: 1.5rem;
    text-align: left;
    line-height: 1.75;
    color: #374151;
    white-space: pre-wrap;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Copy Button */
.btn-copy {
    background: var(--psy-primary, #8B9D83);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.btn-copy:hover {
    background: var(--psy-primary-hover, #7a8c73);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.btn-copy:active {
    transform: translateY(0);
}

/* LINE Guide */
.line-guide {
    background: var(--psy-primary-bg, #f4f6f3);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 2px solid var(--psy-primary, #8B9D83);
}

.line-guide ol {
    padding-left: 1.5rem;
}

.line-guide li {
    margin-bottom: 0.5rem;
}

.btn-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #06C755;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.btn-line:hover {
    background: #05b04b;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(6, 199, 85, 0.3);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--psy-primary, #8B9D83);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(20px);
    }

    to {
        transform: translateX(-50%) translateY(0);
    }
}

/* Consultation Info Box - Mobile Responsive */
@media (max-width: 640px) {
    .consult-info-box {
        padding: 1rem !important;
        font-size: 0.85rem !important;
    }

    .consult-info-box p {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
    }

    .consult-info-box strong {
        font-size: 0.9rem !important;
    }

    .consult-vs-counseling {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0.75rem !important;
        margin-bottom: 1rem !important;
    }

    .address-text {
        display: block !important;
        margin-left: 0 !important;
        margin-top: 0.25rem !important;
        padding-left: 0 !important;
    }

    .social-link {
        display: flex !important;
        margin: 0.5rem 0 !important;
        padding: 0.5rem !important;
        background: #fff !important;
        border-radius: 0.5rem !important;
        border: 1px solid #e5e7eb !important;
    }

    .social-link svg {
        flex-shrink: 0 !important;
    }
}

/* Date Card Selection */
.date-card {
    transition: all 0.2s ease;
}

.date-card:hover {
    border-color: var(--psy-primary, #8FA08E) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.date-card input[type="radio"]:checked~.date-card-content {
    color: var(--psy-primary, #8FA08E);
}

.date-card:has(input[type="radio"]:checked) {
    border-color: var(--psy-primary, #8FA08E) !important;
    background: var(--psy-primary-bg, #f4f6f3) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 640px) {
    .date-card-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)) !important;
        gap: 8px !important;
    }

    .date-card {
        padding: 12px 8px !important;
    }
}

/* Toggle Switch */
.psy-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
    flex-shrink: 0;
}

.psy-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.psy-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .4s;
}

.psy-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

.psy-switch input:checked+.psy-slider {
    background-color: #fbbf24;
}

.psy-switch input:focus+.psy-slider {
    box-shadow: 0 0 1px #fbbf24;
}

.psy-switch input:checked+.psy-slider:before {
    transform: translateX(24px);
}

.psy-slider.round {
    border-radius: 24px;
}

.psy-slider.round:before {
    border-radius: 50%;
}