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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
    background: linear-gradient(135deg, #Fee858 0%, #ffdb5c 50%, #ffcc3d 100%);
    min-height: 100vh;
    padding: 20px;
}

.fv-image {
    max-width: 600px;
    margin: 0 auto 20px auto;
    border-radius: 16px;
    overflow: hidden;
}

.fv-image img {
    width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.header {
    background: white;
    padding: 32px;
    text-align: center;
}

.logo {
    margin-bottom: 8px;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
    margin: 0 auto;
    max-width: 70%;
}

.tagline {
    color: #666;
    font-size: 14px;
}

.progress-bar {
    height: 4px;
    background: #e5e7eb;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #Fee858 0%, #ffdb5c 50%, #ffcc3d 100%);
    transition: width 0.3s ease;
    width: 0%;
}

.content {
    padding: 40px 32px;
    overflow-y: visible;
}

.step-indicator {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-bottom: 32px;
}

.question-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 24px;
    text-align: center;
}

.required {
    color: #ff4444;
    font-size: 12px;
    margin-left: 4px;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-button {
    background: white;
    border: 2px solid #e5e7eb;
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 16px;
    text-align: center;
    font-weight: 500;
}

.option-button:hover {
    border-color: #Fee858;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 232, 88, 0.3);
}

.option-button.selected {
    background: linear-gradient(90deg, #Fee858 0%, #ffdb5c 50%, #ffcc3d 100%);
    border-color: #Fee858;
    color: #333;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(254, 232, 88, 0.4);
}

.option-emoji {
    font-size: 24px;
    margin-right: 8px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.checkbox-label:hover {
    border-color: #Fee858;
}

.checkbox-label.checked {
    background: #fffbea;
    border-color: #Fee858;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.input-group {
    margin-bottom: 20px;
}

.input-label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-field {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.input-field:focus {
    outline: none;
    border-color: #Fee858;
}

.button-group {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.btn {
    flex: 1;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-back {
    background: white;
    border: 2px solid #e5e7eb;
    color: #666;
}

.btn-back:hover {
    background: #f9fafb;
}

.btn-back:active {
    background: #f3f4f6;
}

.btn-next {
    background: linear-gradient(90deg, #Fee858 0%, #ffdb5c 50%, #ffcc3d 100%);
    color: #333;
    border: none;
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 232, 88, 0.4);
}

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

.btn-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #e5e7eb;
}

.btn-next:disabled:hover {
    transform: translateY(0);
    box-shadow: none;
}

.week-selector {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    justify-content: center;
}

.week-btn {
    padding: 12px 24px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.week-btn:hover {
    border-color: #Fee858;
}

.week-btn.active {
    background: linear-gradient(90deg, #Fee858 0%, #ffdb5c 50%, #ffcc3d 100%);
    border-color: #Fee858;
    color: #333;
    font-weight: bold;
}

.calendar-container {
    overflow-x: auto;
    margin-bottom: 20px;
}

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

.calendar-table th {
    background: #f9fafb;
    padding: 12px 8px;
    font-weight: 600;
    border: 1px solid #e5e7eb;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.calendar-table td {
    padding: 8px;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.calendar-table td:first-child {
    font-weight: 500;
    background: #f9fafb;
    position: sticky;
    left: 0;
    z-index: 5;
}

.date-header {
    font-size: 12px;
    color: #666;
}

.day-name {
    font-size: 11px;
    color: #999;
    display: block;
}

.time-cell {
    cursor: pointer;
    padding: 8px;
    transition: all 0.2s;
}

.time-cell.available {
    color: #10b981;
    font-size: 18px;
}

.time-cell.available:hover {
    background: #fffbea;
    transform: scale(1.1);
}

.time-cell.unavailable {
    color: #d1d5db;
    cursor: not-allowed;
    font-size: 16px;
}

.time-cell.selected {
    background: linear-gradient(90deg, #Fee858 0%, #ffdb5c 50%, #ffcc3d 100%);
    font-weight: bold;
    border-radius: 4px;
    position: relative;
}

.time-cell.preference-1::after {
    content: '1';
    position: absolute;
    top: 2px;
    right: 2px;
    background: #333;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.time-cell.preference-2::after {
    content: '2';
    position: absolute;
    top: 2px;
    right: 2px;
    background: #333;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.time-cell.preference-3::after {
    content: '3';
    position: absolute;
    top: 2px;
    right: 2px;
    background: #333;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.selected-slots-info {
    padding: 20px;
    background: #fffbea;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 2px solid #Fee858;
}

.preference-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: white;
    border-radius: 6px;
    margin-bottom: 8px;
}

.preference-item:last-child {
    margin-bottom: 0;
}

.preference-label {
    color: #666;
    font-size: 14px;
    margin-right: 8px;
}

.remove-btn {
    background: #ff4444;
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    transition: all 0.2s;
}

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

.birth-date-selects {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 12px;
}

.strength-box {
    margin-top: 20px;
    background: linear-gradient(135deg, #Fee858 0%, #ffdb5c 50%, #ffcc3d 100%);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(254, 232, 88, 0.3);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.strength-box-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

.footer {
    background: #f9fafb;
    padding: 24px;
    text-align: center;
    font-size: 12px;
    color: #666;
}

.footer a {
    color: #Fee858;
    text-decoration: none;
}

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

.hidden {
    display: none;
}

.completion {
    text-align: center;
    padding: 60px 20px;
}

.completion-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.completion-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 16px;
}

.completion-message {
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

@media (max-width: 600px) {
    .birth-date-selects {
        grid-template-columns: 1fr;
    }
}

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