/* Settings 페이지 고유 스타일 */
.alert-container {
    height: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    margin-top: 10px;
    transition: height 0.3s ease, margin 0.3s ease;
    z-index: 100;
    width: 100%;
}

.alert-container.show {
    height: 60px;
    margin-bottom: 10px;
}

.settings-container {
    padding: 0;
    position: relative;
}

.settings-form {
    overflow: hidden;
    position: relative;
}

.form-section {
    margin-bottom: 24px;
    padding: 24px;
    background-color: var(--white);
    box-shadow: 0px 3px 8px 0px #3333331F;
}

.form-section .section_inner_1,
.form-section .section_inner_2,
.form-section .section_inner_3,
.form-section .section_inner_4 {
    display: flex;
    gap: 24px;
}

.form-section .section_inner_4 {
    margin-top: 16px;
}

.form-section .section_inner_1 .form-group:first-child,
.form-section .section_inner_2 .form-group:first-child,
.form-section .section_inner_3 .form-group:first-child,
.form-section .section_inner_4 .form-group:first-child {
    width: 320px;
}

.form-section .section_inner_2 .range_wrap {
    margin-top: 12px;
    padding: 0 8px;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section .d-flex {
    /*gap: 24px;*/
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray900);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-radius: 8px;
    background: var(--gray100);
    height:42px;
    margin-top: 24px;
}

.section-title:first-child {
    margin-top: 0;
}

.form-group {
    margin-bottom: 24px;
    /*flex: 1;*/
    padding: 0 16px;
}

.form-group.mb-0 {
    margin-bottom: 0;
}

.form-group.mb-short {
    margin-bottom: 12px;
}
.flex-32 {
    display: flex;
    gap: 32px;
}
.form-group.mt-group {
    margin-top: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 5px !important;
    font-weight: bold;
    color: #555;
    gap: 8px;
}

.form-group label.title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray900);
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--gray400);
    border-radius: 8px;
    font-size: 15px;
}

.form-group select {
    padding-top: 0;
    padding-bottom: 0;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--blue500);
}

.form-group .location-radio-list .location-radio {
    width: auto;
}

.form-group .location-radio-list .radio-item label > span {
    font-weight: 400;
}

.time-range {
    display: flex;
    gap: 10px;
    align-items: center;
}

.time-range input {
    flex: 1;
    max-width: 132px;
    min-width: 132px;
}

.time-separator {
    color: #666;
    font-weight: bold;
}

.radio-group {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.checkbox-group {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    line-height: normal;
}

.radio-option label {
    margin: 0 !important;
    font-weight: 400 !important;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    margin: 0;
    cursor: pointer;
    width: 16px;
    min-width: 16px;
    height: 16px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: normal;
}

.checkbox-group label {
    margin: 0 !important;
    font-weight: 400 !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

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

.form-description {
    font-size: 14px;
    color: var(--gray700);
    margin-top: 8px;
}

.form-description::before {
    content: '• ';
}

/* 민감도 슬라이더 */
.sensitivity-slider {
    position: relative;
    margin: 20px 0;
}

.sensitivity-slider input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, #e74c3c 0%, #f39c12 50%, #27ae60 100%);
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.sensitivity-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    border: 3px solid #667eea;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.sensitivity-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.sensitivity-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding: 0 12px;
}

.sensitivity-labels .label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.05);
}

.sensitivity-labels .label.active {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    font-weight: bold;
}

.success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 12px 20px;
    margin: 0 auto;
    display: none;
    position: relative;
    width: 100%;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: fadeInOut 0.3s ease-in-out;
    z-index: 10;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .time-range {
        flex-direction: column;
        align-items: stretch;
    }

    .radio-group {
        flex-direction: column;
        gap: 10px;
    }

    .form-section .d-flex {
        flex-direction: column;
    }
}

/* 좌석 배치도 모달 스타일 */
/* 좌석 배치도 모달 스타일은 seat_assign.css에서 관리됩니다 */