﻿/* Calendar Styles */
.calendar-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-top: 15px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
}

.calendar-section {
    border-right: 1px solid #e0e0e0;
    padding-right: 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.calendar-month {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.calendar-nav {
    display: flex;
    gap: 10px;
}

    .calendar-nav button {
        background: white;
        border: 1px solid #ddd;
        width: 32px;
        height: 32px;
        border-radius: 4px;
        cursor: pointer;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
    }

        .calendar-nav button:hover {
            background: #f5f5f5;
            border-color: #9C27B0;
        }

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}

.calendar-weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    padding: 8px 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

    .calendar-day:hover:not(.disabled):not(.empty) {
        background: #f5f5f5;
    }

    .calendar-day.disabled {
        color: #ccc;
        cursor: not-allowed;
    }

    .calendar-day.empty {
        cursor: default;
    }

    .calendar-day.selected {
        background: #9C27B0;
        color: white;
        font-weight: 600;
    }

    .calendar-day.today {
        border-color: #9C27B0;
        font-weight: 600;
    }

.time-slots {
    max-height: 400px;
    overflow-y: auto;
    padding-left: 20px;
}

.time-slot {
    padding: 12px 16px;
    margin-bottom: 8px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

    .time-slot:hover {
        border-color: #9C27B0;
        background: #f9f4fc;
    }

    .time-slot.selected {
        background: #9C27B0;
        color: white;
        border-color: #9C27B0;
    }

    .time-slot.disabled {
        background: #f5f5f5;
        color: #ccc;
        cursor: not-allowed;
        border-color: #e0e0e0;
    }

.time-slots-header {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

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

    .calendar-section {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding-right: 0;
        padding-bottom: 20px;
    }

    .time-slots {
        padding-left: 0;
        max-height: 300px;
    }
}

.sub-question { margin-top: 15px; padding-left: 16px; border-left: 2px solid #e8e0ec; display: none; }
.sub-question.active { display: block; }
.location-btn { margin: 12px 0; padding: 12px 16px; background: #7B1FA2; color: #fff; border: none; border-radius: 8px; cursor: pointer; width: 100%; font-size: 14px; }
.location-btn:hover { background: #6a1b9a; }
.jb-consulting-option { margin-bottom: 8px; }

/* radio-list checkbox boyutu sadece danışmanlık seçeneklerine uygulansın */
.radio-list.jb-consulting-list > .option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    accent-color: #2F6BFF;
}

/* Alt soru alanındaki metin kutuları checkbox gibi küçülmesin */
.radio-list.jb-consulting-list .sub-question .form-group input[type="text"],
.radio-list.jb-consulting-list .sub-question .form-group textarea,
.radio-list.jb-consulting-list .sub-question .form-group select,
.radio-list.jb-consulting-list .sub-question .jb-consulting-text-input {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    height: 42px;
    border: 1px solid #E4E4E4;
    border-radius: 6px;
    padding: 0 10px;
    color: #181616;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    accent-color: unset;
}

.radio-list.jb-consulting-list .sub-question .form-group textarea {
    height: 120px;
    padding-top: 16px;
    resize: vertical;
}
