/**
 * 세미나 티켓 신청 시스템 스타일시트
 */

/* 기본 컨테이너 */
.seminar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
}

/* 티켓 히어로 카드 스타일 */
.ticket-hero-card {
    width: 100%;
    height: 800px;
    border-radius: 20px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(93, 173, 226, 0.3);
    border: 1px solid rgba(93, 173, 226, 0.5);
}

/* 배경 이미지 전용 가상 요소 */
.ticket-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../ticket_H.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 1;
    border-radius: 20px;
}




@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.seminar-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.date-info, .deadline-info {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.date-info i, .deadline-info i {
    margin-right: 10px;
    font-size: 1.2rem;
}


/* 신청 섹션 */
.apply-section {
    text-align: center;
    padding: 20px 0;
}

.apply-section .btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #5DADE2;
    border-color: #4A90E2;
    color: white;
    box-shadow: 0 4px 15px rgba(93, 173, 226, 0.3);
    transition: all 0.3s ease;
}

.apply-section .btn:hover {
    background: #4682B4;
    border-color: #4682B4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(93, 173, 226, 0.4);
}

/* 로그인 필요 / 마감 안내 */
.login-required, .deadline-passed {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #6c757d;
}

.login-required p, .deadline-passed p {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

/* 관리자 섹션 */
.admin-section {
    background: #343a40;
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
}

.admin-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

/* 관리자 버튼 그리드 (4열 고정) */
.admin-buttons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

/* 정사각형 관리자 버튼 */
.admin-square-btn {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.admin-square-btn i {
    font-size: 1.8rem;
    display: block;
}

.admin-square-btn span {
    display: block;
    text-align: center;
    line-height: 1.2;
}

.admin-square-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

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

/* 모달 스타일 */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: linear-gradient(135deg, #5DADE2 0%, #87CEEB 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 20px 25px;
}

.modal-header .modal-title {
    font-weight: 600;
    font-size: 1.2rem;
}

.modal-header .close {
    color: white;
    opacity: 0.8;
    font-size: 1.2rem;
}

.modal-header .close:hover {
    opacity: 1;
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #dee2e6;
}

/* 폼 스타일 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #495057;
    display: block;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #5DADE2;
    box-shadow: 0 0 0 0.2rem rgba(93, 173, 226, 0.25);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
}

/* 추가 참석자 섹션 */
.additional-attendee {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
}

.additional-attendee:first-child {
    background: transparent;
    padding: 0;
}

.additional-attendee .row {
    align-items: center;
}

/* 신청비 요약 */
.fee-summary {
    background: #ffffff;
    color: #333;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.fee-calculation {
    margin-bottom: 10px;
}

.fee-label {
    font-size: 1rem;
    margin-right: 10px;
}

.fee-amount {
    font-size: 1.2rem;
    font-weight: 700;
}

.payment-info-mini {
    opacity: 0.9;
    font-size: 0.9rem;
}


/* 버튼 스타일 */
.btn {
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 12px 30px;
    font-size: 1.2rem;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.875rem;
}

.btn:hover {
    transform: translateY(-1px);
}


/* 알림 스타일 */
.alert {
    border: none;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert i {
    margin-right: 10px;
}

.alert-success {
    background: linear-gradient(45deg, #d4edda, #c3e6cb);
    color: #155724;
}

.alert-danger {
    background: linear-gradient(45deg, #f8d7da, #f1aeb5);
    color: #721c24;
}

.alert-warning {
    background: linear-gradient(45deg, #fff3cd, #ffeaa7);
    color: #856404;
}

.alert-info {
    background: linear-gradient(45deg, #d1ecf1, #bee5eb);
    color: #0c5460;
}

/* 로딩 오버레이 */
#loadingOverlay {
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
}

#loadingOverlay i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .ticket-hero-card {
        height: 750px;
        margin-bottom: 20px;
        border-radius: 15px;
    }

    .ticket-hero-card::before {
        background-size: contain;
        border-radius: 15px;
    }


    .seminar-container {
        padding: 15px;
    }

    .seminar-info {
        flex-direction: column;
        gap: 15px;
    }

    .date-info, .deadline-info {
        justify-content: center;
        text-align: center;
    }

    .admin-buttons-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .admin-square-btn {
        font-size: 0.75rem;
    }

    .admin-square-btn i {
        font-size: 1.4rem;
    }

    .additional-attendee .row {
        margin-bottom: 10px;
    }

    .additional-attendee .col-md-2 {
        text-align: center;
        margin-top: 10px;
    }

    .modal-dialog {
        margin: 10px;
    }

    .modal-body {
        padding: 20px 15px;
    }
}

@media (max-width: 576px) {
    .ticket-hero-card {
        height: 700px;
    }


    .apply-section .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .fee-summary {
        padding: 15px;
    }

    .fee-amount {
        font-size: 1.2rem;
    }
}


/* 지역별 신청자 수 표시 바 */
.regional-stats-bar {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 3;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 95%;
    max-width: 95%;
}

.regional-stats-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: space-between;
    width: 100%;
}

.region-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(93, 173, 226, 0.3);
    font-size: 1.4rem;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 0;
    min-height: 70px;
    text-align: center;
}

.region-stat.current-region {
    background: rgba(93, 173, 226, 0.3);
    border-color: rgba(93, 173, 226, 0.6);
    box-shadow: 0 2px 8px rgba(93, 173, 226, 0.4);
    transform: scale(1.05);
}

.region-name {
    font-weight: 600;
    color: #2c3e50 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-align: center;
    font-size: 1.4rem;
    line-height: 1.2;
}

.region-count {
    font-weight: 700;
    color: #5dade2;
    background: rgba(255, 255, 255, 0.8);
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 1.4rem;
    text-align: center;
    min-width: 40px;
    line-height: 1.2;
    display: block;
}

.region-stat.current-region .region-count {
    background: rgba(255, 255, 255, 0.9);
    color: #2980b9;
}

/* 미입금자 뱃지 (관리자만 표시) */
.region-count-wrapper {
    position: relative;
    display: inline-block;
}

.pending-badge {
    position: absolute;
    bottom: -15px;
    right: -12px;
    background: #e74c3c;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 2px solid white;
}

/* 태블릿 반응형 */
@media (max-width: 768px) {
    .regional-stats-bar {
        top: 15px;
        padding: 8px 15px;
        width: 95%;
        max-width: 95%;
    }

    .regional-stats-grid {
        gap: 6px;
    }

    .region-stat {
        padding: 10px 6px;
        min-height: 60px;
        font-size: 1.3rem;
    }

    .region-name {
        font-size: 1.3rem;
    }

    .region-count {
        padding: 3px 8px;
        font-size: 1.3rem;
        min-width: 35px;
    }

    .pending-badge {
        font-size: 0.6rem;
        padding: 1px 4px;
        min-width: 16px;
        height: 16px;
        bottom: -12px;
        right: -10px;
    }
}

/* 모바일 반응형 - 3열 유지 */
@media (max-width: 576px) {
    .regional-stats-bar {
        top: 20px;
        padding: 10px 5px;
        width: 95%;
        max-width: 95%;
    }

    .regional-stats-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 2px;
        justify-content: space-between;
        width: 100%;
    }

    .region-stat {
        padding: 8px 4px;
        min-height: 50px;
        font-size: 1rem;
        border-radius: 6px;
        flex: 1;
        min-width: 0;
        text-align: center;
    }

    .region-name {
        font-size: 1rem;
        line-height: 1.2;
        display: block;
    }

    .region-count {
        padding: 2px 4px;
        font-size: 1rem;
        display: block;
        min-width: 25px;
    }

    .pending-badge {
        font-size: 0.55rem;
        padding: 1px 3px;
        min-width: 14px;
        height: 14px;
        bottom: -10px;
        right: -8px;
    }
}

/* 신청 정보 카드 (카드인카드) */
.application-info-card {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    max-width: 95%;
    width: 95%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.9);
    z-index: 2;
}

.application-header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(93, 173, 226, 0.3);
    gap: 10px;
}

.application-header h5 {
    margin: 0;
    color: #4682B4;
    font-weight: 600;
    font-size: 1.2rem;
}

.application-header h5 i {
    margin-right: 8px;
    color: #5DADE2;
}

.application-status {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}

.status-approved {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.status-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-payment-pending {
    background: #B3D9F2;
    color: #2C5F8D;
    border: 1px solid #8FC7FF;
    font-size: 0.9rem;
    text-transform: none;
    font-weight: 500;
}

.status-seat-waiting {
    background: rgba(23, 162, 184, 0.2);
    color: #17a2b8;
    border: 1px solid rgba(23, 162, 184, 0.3);
    font-size: 0.9rem;
    font-weight: 300;
}

.payment-copy-hint {
    text-align: center;
    margin-top: 8px;
    color: #5DADE2;
}

.payment-copy-hint small {
    font-size: 0.85rem;
}

.payment-copy-hint i {
    margin-right: 4px;
}

.application-content {
    margin-bottom: 20px;
}

.application-content .row {
    margin-bottom: 10px;
}

.application-content .row:last-child {
    margin-bottom: 0;
}

.info-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    border: 1px solid rgba(93, 173, 226, 0.2);
}

.info-label {
    font-weight: 500;
    color: #4682B4;
    font-size: 1.2rem;
    margin-bottom: 4px;
    display: block;
}

.info-value {
    font-weight: 600;
    color: #333;
    font-size: 1.2rem;
    display: block;
    word-break: break-word;
    text-align: right;
}

/* 좌석번호 전용 스타일 */
.info-value.seat-number {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

/* 모바일에서도 2열 유지 */
@media (max-width: 576px) {
    .application-content .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
        padding-left: 8px;
        padding-right: 8px;
    }

    .info-row {
        padding: 6px 8px;
        margin-bottom: 6px;
    }

    .info-label {
        font-size: 1.2rem;
    }

    .info-value {
        font-size: 1.2rem;
    }
}

.application-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.application-actions .btn {
    flex: 1;
    min-width: 120px;
}

.application-content p {
    color: #4682B4;
    line-height: 1.5;
}

.application-content .text-muted {
    color: #6c757d !important;
    font-size: 0.9rem;
}

/* 반응형 디자인 - 신청 정보 카드 */
@media (max-width: 768px) {
    .application-info-card {
        max-width: 95%;
        padding: 20px;
        width: 95%;
    }

    .application-header h5 {
        font-size: 1.2rem;
    }

    .info-row {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .application-actions {
        flex-direction: column;
    }

    .application-actions .btn {
        min-width: auto;
    }
}

@media (max-width: 576px) {
    .application-info-card {
        max-width: 95%;
        padding: 15px;
        width: 95%;
    }

    .application-header {
        gap: 8px;
    }
}

/* 계좌번호 복사 스타일 (밑줄 있음) */
.bank-account-copy {
    cursor: pointer !important;
    color: #007bff !important;
    text-decoration: underline !important;
    transition: color 0.3s ease;
    padding: 2px 4px;
    border-radius: 3px;
}

.bank-account-copy:hover {
    color: #0056b3 !important;
    background-color: rgba(0, 123, 255, 0.1);
}

.bank-account-copy:active {
    color: #004085 !important;
    background-color: rgba(0, 123, 255, 0.2);
}

/* 계좌번호 복사 스타일 (밑줄 없음) */
.bank-account-copy-no-underline {
    cursor: pointer !important;
    transition: all 0.3s ease;
    padding: 2px 4px;
    border-radius: 3px;
    display: inline-block;
}

.bank-account-copy-no-underline:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
}

.bank-account-copy-no-underline:active {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.01);
}

/* 계좌번호 복사 스타일 (Bold, 밑줄 없음) */
.bank-account-copy-bold {
    cursor: pointer !important;
    font-weight: bold !important;
    color: #5DADE2 !important;
    transition: all 0.3s ease;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    background-color: rgba(93, 173, 226, 0.1);
    text-decoration: underline;
    text-decoration-style: dotted;
}

.bank-account-copy-bold:hover {
    color: #4A90E2 !important;
    background-color: rgba(93, 173, 226, 0.2);
    transform: scale(1.05);
    text-decoration: underline;
    text-decoration-style: solid;
}

.bank-account-copy-bold:active {
    color: #4682B4 !important;
    background-color: rgba(93, 173, 226, 0.3);
    transform: scale(1.02);
}

/* 입금 정보 섹션 */
.payment-info-section {
    margin-top: 20px;
    padding: 20px;
    background: #F8FBFD;
    border: 1px solid #D1E7F5;
    border-radius: 8px;
    text-align: center;
}

.payment-label {
    margin-bottom: 12px;
    color: #5A6C7D;
    font-weight: 500;
}

/* 계좌번호 디스플레이 */
.bank-account-display {
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2E5266;
    background: #FFFFFF;
    padding: 15px 25px;
    border-radius: 6px;
    margin: 10px 0;
    display: inline-block;
    min-width: 300px;
    border: 2px dashed #9BC4E2;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.bank-account-display:hover {
    background: #FFFFFF;
    border-color: #6BA3D0;
    border-style: solid;
    color: #1E3A4C;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.bank-account-display:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 복사 안내 문구 스타일 */
.payment-copy-notice {
    margin-top: 12px;
    text-align: center;
    color: #7A8A99;
}

.payment-copy-notice i {
    margin-right: 4px;
    color: #6BA3D0;
}

/* ============================================
   세련된 세미나 신청 모달 스타일 (차가운 느낌)
   ============================================ */

/* 모달 전체 */
.seminar-modal-cute {
    border-radius: 20px !important;
    border: none;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(93, 173, 226, 0.2) !important;
}

/* 모달 헤더 */
.cute-modal-header {
    background: linear-gradient(135deg, #E8F4FD 0%, #D4EBFA 100%);
    border-bottom: 3px solid #B3D9F2;
    padding: 18px 22px;
    border-radius: 20px 20px 0 0 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cute-modal-header .modal-title {
    color: #2C7FB8;
    font-weight: 700;
    font-size: 1.35rem;
    margin: 0;
}

.cute-close-btn {
    background: #B3D9F2;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: #2C7FB8;
    font-size: 1.35rem;
    transition: all 0.3s ease;
    opacity: 1;
    margin-left: auto;
}

.cute-close-btn:hover {
    background: #5DADE2;
    color: white;
    transform: rotate(90deg);
}

/* 모달 바디 */
.cute-modal-body {
    padding: 27px;
    background: #F8FBFE;
}

/* 폼 그룹 */
.cute-form-group {
    margin-bottom: 22px;
}

.cute-label {
    font-weight: 600;
    color: #3D5A7C;
    margin-bottom: 9px;
    font-size: 0.9rem;
}

.required-star {
    color: #5DADE2;
    font-size: 1.1rem;
}

/* 셀렉트 박스 */
.cute-select {
    border: 2px solid #B3D9F2;
    border-radius: 12px;
    padding: 10px 13px;
    font-size: 0.85rem;
    color: #3D5A7C;
    background: white;
    transition: all 0.3s ease;
}

.cute-select:focus {
    border-color: #5DADE2;
    box-shadow: 0 0 0 0.2rem rgba(93, 173, 226, 0.15);
    background: #F0F8FF;
}

.cute-select option {
    padding: 9px;
}

/* 힌트 텍스트 */
.cute-hint {
    color: #6B8BA8;
    font-size: 0.785rem;
    margin-top: 7px;
    display: block;
}

/* 요금 요약 */
.cute-fee-summary {
    margin-top: 27px;
}

.cute-fee-box {
    background: linear-gradient(135deg, #E8F4FD 0%, #D4EBFA 100%);
    border: 2px solid #B3D9F2;
    border-radius: 13px;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.cute-fee-box .fee-label {
    font-size: 0.99rem;
    font-weight: 600;
    color: #3D5A7C;
}

.cute-fee-box .fee-amount {
    font-size: 1.62rem;
    font-weight: 800;
    color: #2C7FB8;
}

/* 입금 정보 섹션 */
.cute-payment-section {
    background: linear-gradient(135deg, #F0F8FF 0%, #E6F3FF 100%);
    border: 2px solid #B3D9FF;
    border-radius: 13px;
    padding: 18px;
    text-align: center;
}

.cute-payment-section .payment-label {
    color: #5A7BA6;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 13px;
}

/* 계좌번호 박스 */
.cute-account-box {
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    color: #3A5A7A;
    background: white;
    padding: 12px 16px;
    border-radius: 10px;
    margin: 9px auto;
    display: block;
    max-width: 320px;
    width: 100%;
    border: 3px dashed #8FC7FF;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    position: relative;
    line-height: 1.6;
    word-break: break-all;
}

.cute-account-box::before {
    content: '📋';
    position: absolute;
    left: -35px;
    font-size: 1.2rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.cute-account-box:hover {
    background: #F0F8FF;
    border-color: #5A9FD4;
    border-style: solid;
    color: #2A4A6A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(90, 159, 212, 0.2);
}

.cute-account-box:hover::before {
    opacity: 1;
    left: -40px;
}

.cute-account-box:active {
    transform: translateY(-1px);
}

/* 복사 안내 */
.cute-notice {
    margin-top: 10px;
    color: #7A9ABE;
    font-size: 0.785rem;
}

.cute-notice i {
    color: #5A9FD4;
    margin-right: 4px;
}

/* 모달 푸터 */
.cute-modal-footer {
    background: linear-gradient(135deg, #E8F4FD 0%, #D4EBFA 100%);
    border-top: 3px solid #B3D9F2;
    padding: 18px 22px;
}

/* 버튼 */
.cute-btn-cancel {
    background: white;
    border: 2px solid #B3D9F2;
    color: #3D5A7C;
    border-radius: 22px;
    padding: 9px 22px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cute-btn-cancel:hover {
    background: #F0F8FF;
    border-color: #87CEEB;
    color: #2C5F7F;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(93, 173, 226, 0.2);
}

.cute-btn-submit {
    background: linear-gradient(135deg, #5DADE2 0%, #4A90E2 100%);
    border: none;
    color: white;
    border-radius: 22px;
    padding: 9px 27px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(93, 173, 226, 0.3);
    transition: all 0.3s ease;
}

.cute-btn-submit:hover {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(93, 173, 226, 0.4);
}

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

/* 관리자 검색 버튼 스타일 */
.admin-management .btn-primary {
    width: 100%;
    height: 38px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: 0.875rem;
}

.admin-management .btn-primary i {
    margin-right: 5px;
}

/* 관리자 검색 폼 스타일 */
.admin-management .form-control {
    height: 38px;
    padding: 6px 12px;
}

.admin-management .row.mb-3 {
    align-items: stretch;
}

.admin-management .row.mb-3 > div {
    display: flex;
    align-items: stretch;
}

/* 인쇄 스타일 */
@media print {
    .seminar-container {
        max-width: none;
        padding: 0;
    }

    .admin-section,
    .action-buttons,
    .apply-section {
        display: none;
    }

    .seminar-header {
        background: #f8f9fa !important;
        color: #212529 !important;
        -webkit-print-color-adjust: exact;
    }

    .modal {
        position: static;
        display: block;
    }

    .modal-dialog {
        margin: 0;
        max-width: none;
    }

    .btn {
        display: none;
    }
}

/* ========================================
   신청목록관리 모달 스타일
   ======================================== */

/* 모달 전체 높이 제한 및 스크롤 설정 */
#applicationsListModal .modal-content {
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

#applicationsListModal .modal-body {
    flex: 1;
    overflow-y: auto;
    max-height: calc(90vh - 180px);
    padding: 20px;
}

/* 신청목록관리 모달 버튼 크기 조정 (30% 축소) */
#applicationsListModal .payment-toggle,
#applicationsListModal .delete-application {
    padding: 4.2px 8.4px;  /* 원래 6px 12px에서 30% 축소 */
    font-size: 0.6125rem;  /* 원래 0.875rem에서 30% 축소 */
}

#applicationsListModal .payment-toggle i,
#applicationsListModal .delete-application i {
    font-size: 0.6125rem;  /* 아이콘도 30% 축소 */
}

/* 신청 현황 요약 통계 */
.seminar-stats-summary {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.seminar-stats-summary .stats-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
}

.seminar-stats-summary .stats-header h6 {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.1rem;
}

.seminar-stats-summary .stats-header h6 i {
    color: #667eea;
    margin-right: 8px;
}

.seminar-stats-summary .stats-body {
    margin-top: 1rem;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #ddd;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.stat-card.stat-total {
    border-left-color: #667eea;
}

.stat-card.stat-confirmed {
    border-left-color: #51cf66;
}

.stat-card.stat-pending {
    border-left-color: #ffa500;
}

.stat-card.stat-final {
    border-left-color: #5DADE2;
}

.stat-card.stat-unpaid {
    border-left-color: #e74c3c;
}

.stat-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.stat-card.stat-total .stat-icon {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.stat-card.stat-confirmed .stat-icon {
    background: rgba(81, 207, 102, 0.1);
    color: #51cf66;
}

.stat-card.stat-pending .stat-icon {
    background: rgba(255, 165, 0, 0.1);
    color: #ffa500;
}

.stat-card.stat-final .stat-icon {
    background: rgba(93, 173, 226, 0.1);
    color: #5DADE2;
}

.stat-card.stat-unpaid .stat-icon {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
}

.stat-value span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #6c757d;
    margin-left: 4px;
}

/* 통계 카드 그리드 - 항상 한 줄 유지 */
.seminar-stats-summary .row {
    display: grid;
    gap: 0.5rem;
}

/* 진행중 (3개 카드) */
.seminar-stats-summary .row.g-2:has(.col-md-4) {
    grid-template-columns: repeat(3, 1fr);
}

/* 마감 (4개 카드) */
.seminar-stats-summary .row.g-2:has(.col-md-3) {
    grid-template-columns: repeat(4, 1fr);
}

/* 반응형 - 작은 화면에서도 한 줄 유지 */
@media (max-width: 768px) {
    .seminar-stats-summary {
        padding: 1rem;
    }

    .seminar-stats-summary .stats-header h6 {
        font-size: 1rem;
    }

    .stat-card {
        padding: 0.5rem;
        gap: 0.5rem;
        flex-direction: column;
        text-align: center;
    }

    .stat-icon {
        font-size: 1.25rem;
        width: 35px;
        height: 35px;
        margin: 0 auto;
    }

    .stat-value {
        font-size: 1.25rem;
    }

    .stat-value span {
        font-size: 0.75rem;
    }

    .stat-label {
        font-size: 0.7rem;
        white-space: nowrap;
    }

    /* 작은 화면에서도 그리드 유지 */
    .seminar-stats-summary .row {
        gap: 0.35rem;
    }
}

@media (max-width: 480px) {
    .stat-card {
        padding: 0.4rem;
        gap: 0.3rem;
    }

    .stat-icon {
        font-size: 1rem;
        width: 30px;
        height: 30px;
    }

    .stat-value {
        font-size: 1.1rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .seminar-stats-summary .row {
        gap: 0.25rem;
    }
}

/* 플로팅 라벨 스타일 (신청 모달) */
#applicationModal .form-floating {
    margin-bottom: 1.5rem;
}

#applicationModal .form-floating > .form-select {
    height: calc(3.8rem + 2px);
    padding: 1.8rem 0.75rem 0.5rem;
    border: 2px solid #B3D9F2;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.25;
}

#applicationModal .form-floating > label {
    padding: 0.8rem 0.75rem;
    font-weight: 600;
    color: #3D5A7C;
    font-size: 0.9rem;
    opacity: 0.65;
}

#applicationModal .form-floating > .form-select:focus,
#applicationModal .form-floating > .form-select:not(:placeholder-shown) {
    padding-top: 1.9rem;
    padding-bottom: 0.6rem;
}

#applicationModal .form-floating > .form-select:focus ~ label,
#applicationModal .form-floating > .form-select:not(:placeholder-shown) ~ label {
    opacity: 0.65;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

#applicationModal .form-floating > .form-select:focus {
    border-color: #5DADE2;
    box-shadow: 0 0 0 0.2rem rgba(93, 173, 226, 0.25);
}

#applicationModal .required-star {
    color: #5DADE2;
    font-size: 1.1rem;
}

/* 신청목록관리 모달 플로팅 라벨 스타일 */
#applicationsListModal .form-floating > label {
    font-weight: 600;
    color: #495057;
}

#applicationsListModal .form-floating > label i {
    color: #5DADE2;
    margin-right: 5px;
    font-size: 0.9em;
}

#applicationsListModal .form-floating > .form-select {
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

#applicationsListModal .form-floating > .form-select:focus {
    border-color: #5DADE2;
    box-shadow: 0 0 0 0.2rem rgba(93, 173, 226, 0.25);
}

/* 신청 상태별 카드 색상 */
.application-info-card .text-warning {
    color: #f39c12 !important;
}

.application-info-card .text-danger {
    color: #e74c3c !important;
}

.application-info-card .text-muted {
    color: #6c757d !important;
}

/* 신청 대기 중 카드 스타일 */
.application-info-card .fa-hourglass-start {
    color: #f39c12;
}

.application-info-card .fa-play-circle,
.application-info-card .fa-stop-circle {
    color: #3498db;
}

/* 신청 마감 카드 스타일 */
.application-info-card .fa-times-circle {
    color: #e74c3c;
}

/* ========================================
   세미나 일정 관리 모달 스타일
   ======================================== */

/* 모달 전체 높이 제한 및 스크롤 설정 */
#seminarScheduleModal .modal-content {
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

#seminarScheduleModal .modal-body {
    flex: 1;
    overflow-y: auto;
    max-height: calc(90vh - 120px);
}

/* 일정 관리 컨테이너 */
.schedule-management-container {
    padding: 10px 0;
}

/* 섹션 타이틀 */
.schedule-list-section .section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #5DADE2;
}

.schedule-list-section .section-title i {
    margin-right: 8px;
    color: #5DADE2;
}

/* 일정 카드 컨테이너 */
.schedule-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* 일정 카드 */
.schedule-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

/* 신청 마감된 카드 */
.schedule-card.ended {
    opacity: 0.7;
    background: #f8f9fa;
}

.schedule-card.ended:hover {
    transform: translateY(-2px);
    border-color: #6c757d;
}

/* 카드 헤더 */
.schedule-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.schedule-card-title-section {
    flex: 1;
}

.schedule-category-badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 12px;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px);
}

.schedule-card-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.schedule-status-badge {
    margin-left: 10px;
}

.schedule-status-badge .badge {
    font-size: 0.9rem;
    padding: 6px 14px;
    font-weight: 600;
}

/* 카드 바디 */
.schedule-card-body {
    padding: 25px;
}

.schedule-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 30px;
}

.schedule-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.schedule-info-item i {
    font-size: 1.4rem;
    margin-top: 3px;
    min-width: 24px;
    flex-shrink: 0;
}

.schedule-info-content {
    flex: 1;
    min-width: 0;
}

.schedule-info-label {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 5px;
    font-weight: 500;
}

.schedule-info-value {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 500;
    line-height: 1.5;
}

.schedule-info-value strong {
    font-size: 1.3rem;
    color: #667eea;
}

.schedule-info-value strong.text-danger {
    color: #e74c3c !important;
}

/* 카드 푸터 */
.schedule-card-footer {
    padding: 15px 25px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.schedule-edit-btn,
.schedule-delete-btn {
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    flex: 1;
}

.schedule-edit-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.schedule-delete-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
    background-color: #dc3545 !important;
    color: white !important;
    border-color: #dc3545 !important;
}

.schedule-edit-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* 신규 일정 등록 버튼 */
.schedule-new-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 10px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* 모달 푸터의 신규 등록 버튼 */
#seminarScheduleModal .modal-footer .schedule-new-btn {
    padding: 10px 25px;
    font-size: 0.95rem;
    border-radius: 6px;
}

.schedule-new-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.schedule-new-btn:hover::before {
    left: 100%;
}

.schedule-new-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.schedule-new-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.4);
}

.schedule-new-btn i {
    margin-right: 8px;
}

/* 반응형 디자인 */
@media (max-width: 992px) {
    .schedule-cards-container {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

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

    .schedule-card-header {
        padding: 15px;
    }

    .schedule-card-title {
        font-size: 1.1rem;
    }

    .schedule-card-body {
        padding: 20px;
    }

    .schedule-info-grid {
        gap: 20px 25px;
    }

    .schedule-list-section .section-title {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .schedule-cards-container {
        gap: 12px;
    }

    .schedule-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .schedule-status-badge {
        margin-left: 0;
    }

    .schedule-card-title {
        font-size: 1rem;
    }

    .schedule-card-body {
        padding: 15px;
    }

    /* 작은 화면에서도 2x2 그리드 유지 */
    .schedule-info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px 12px;
    }

    .schedule-info-item {
        gap: 8px;
    }

    .schedule-info-item i {
        font-size: 1.1rem;
        min-width: 18px;
    }

    .schedule-info-label {
        font-size: 0.75rem;
    }

    .schedule-info-value {
        font-size: 0.85rem;
    }

    .schedule-info-value small {
        font-size: 0.75rem;
    }

    .schedule-info-value strong {
        font-size: 1rem;
    }

    .schedule-edit-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    #seminarScheduleModal .modal-footer .schedule-new-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* 매우 작은 화면 (360px 이하)에서도 2x2 그리드 유지 */
@media (max-width: 360px) {
    .schedule-card-body {
        padding: 12px;
    }

    .schedule-info-grid {
        gap: 12px 8px;
    }

    .schedule-info-item {
        gap: 6px;
    }

    .schedule-info-item i {
        font-size: 1rem;
        min-width: 16px;
    }

    .schedule-info-label {
        font-size: 0.7rem;
    }

    .schedule-info-value {
        font-size: 0.8rem;
    }

    .schedule-info-value small {
        font-size: 0.7rem;
    }

    .schedule-info-value strong {
        font-size: 0.95rem;
    }
}

/* ========================================
   좌석배정 모달 플로팅 라벨 스타일
   ======================================== */

/* 좌석배정 모달 - 고정 헤더/푸터 스크롤 */
#seatAssignmentModal .modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

#seatAssignmentModal .modal-content {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

#seatAssignmentModal .modal-header {
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 1055;
    background: white;
}

#seatAssignmentModal .modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
}

#seatAssignmentModal .modal-footer {
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    z-index: 1055;
    background: white;
}

/* 입력 섹션 - 여백 최소화 */
#seatAssignmentModal .seat-input-section {
    background: #f8f9fa;
    padding: 0.75rem;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
    margin-bottom: 1rem;
}

/* 좌석 리스트 아이템 - 여백 최소화 */
#seatAssignmentModal .seat-list-item {
    padding: 0.5rem 0.75rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 3px solid #5DADE2;
    margin-bottom: 0.4rem !important;
}

#seatAssignmentModal .seat-list-item:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transform: translateX(3px);
    border-left-color: #3498db;
}

/* 인라인 좌석 정보 레이아웃 */
#seatAssignmentModal .seat-info-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.0rem;
}

#seatAssignmentModal .seat-region-icon {
    color: #ff6b6b;
    font-size: 1.0rem;
}

#seatAssignmentModal .seat-region {
    font-weight: 600;
    color: #2c3e50;
    min-width: 60px;
    font-size: 1.0rem;
}

#seatAssignmentModal .seat-icon {
    color: #5DADE2;
    font-size: 1.0rem;
}

#seatAssignmentModal .seat-range {
    flex: 1;
    color: #495057;
    font-size: 1.0rem;
}

#seatAssignmentModal .seat-delete-btn {
    margin-left: auto;
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
    border-radius: 6px;
    white-space: nowrap;
}

/* 리스트 섹션 제목 - 여백 최소화 */
#seatAssignmentModal .seat-list-section h6 {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
    margin-bottom: 0.5rem !important;
}

#seatAssignmentModal .seat-list-section h6 i {
    margin-right: 4px;
}

/* 좌석 리스트 컨테이너 - 여백 최소화 */
#seatAssignmentModal .seat-regions-list {
    padding: 0;
}

/* 플로팅 라벨 간격 조정 */
#seatAssignmentModal .form-floating {
    position: relative;
}

#seatAssignmentModal .form-floating > label {
    padding: 1rem 0.75rem;
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

#seatAssignmentModal .form-floating > .form-select,
#seatAssignmentModal .form-floating > .form-control {
    height: calc(3.5rem + 2px);
    padding: 1.5rem 0.75rem 0.5rem 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

#seatAssignmentModal .form-floating > .form-select:focus,
#seatAssignmentModal .form-floating > .form-control:focus {
    border-color: #5DADE2;
    box-shadow: 0 0 0 0.2rem rgba(93, 173, 226, 0.15);
    background: #f8fbfe;
}

/* 라벨 아이콘 스타일 */
#seatAssignmentModal .form-floating label i {
    margin-right: 6px;
}

/* 입력 섹션 간격 최소화 */
#seatAssignmentModal .seat-input-section .row {
    margin-left: -1.5px !important;
    margin-right: -1.5px !important;
}

#seatAssignmentModal .seat-input-section .row > [class*="col-"] {
    padding-left: 1.5px !important;
    padding-right: 1.5px !important;
}

/* 입력 폼 크기 최적화 */
#seatAssignmentModal .seat-input-section .form-floating > .form-select,
#seatAssignmentModal .seat-input-section .form-floating > .form-control {
    height: calc(3.2rem + 2px);
    padding: 1.3rem 0.65rem 0.4rem 0.65rem;
    font-size: 0.95rem;
}

#seatAssignmentModal .seat-input-section .form-floating > label {
    padding: 0.9rem 0.65rem;
    font-size: 0.8rem;
}

/* 추가 버튼 스타일 - 아이콘 전용 (5% 너비) */
#seatAssignmentModal .seat-add-btn {
    height: calc(3.2rem + 2px);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
    margin-top: 0.25rem;
    padding: 0 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

#seatAssignmentModal .seat-add-btn i {
    font-size: 1.1rem;
    margin: 0;
}

#seatAssignmentModal .seat-add-btn:hover {
    background: #28a745;
    border-color: #28a745;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.4);
}

/* 삭제 버튼 스타일 (리스트 아이템) */
#seatAssignmentModal .seat-list-item .btn-danger {
    border-radius: 6px;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

#seatAssignmentModal .seat-list-item .btn-danger:hover {
    background: #c82333;
    border-color: #bd2130;
    transform: scale(1.05);
}

/* 구분선 스타일 */
#seatAssignmentModal hr {
    border-top: 2px solid #e9ecef;
    margin: 2rem 0;
}

/* 반응형 레이아웃 */
@media (max-width: 768px) {
    /* 입력 섹션 - 여백 최소화 */
    #seatAssignmentModal .seat-input-section {
        padding: 0.5rem;
    }

    /* 입력 폼 간격 최소화 */
    #seatAssignmentModal .seat-input-section .row > [class*="col-"] {
        padding-left: 1px !important;
        padding-right: 1px !important;
    }

    /* 입력 폼 크기 조정 */
    #seatAssignmentModal .seat-input-section .form-floating > label {
        font-size: 0.65rem;
        padding: 0.7rem 0.4rem;
    }

    #seatAssignmentModal .seat-input-section .form-floating > .form-select,
    #seatAssignmentModal .seat-input-section .form-floating > .form-control {
        height: calc(2.8rem + 2px);
        padding: 1.1rem 0.4rem 0.3rem 0.4rem;
        font-size: 0.8rem;
    }

    /* 추가 버튼 - 모바일 최적화 */
    #seatAssignmentModal .seat-add-btn {
        height: calc(2.8rem + 2px);
        padding: 0 0.2rem;
        margin-top: 0.2rem;
        min-width: 0;
    }

    #seatAssignmentModal .seat-add-btn i {
        font-size: 0.9rem;
    }

    /* 배정된 좌석 목록 - 인라인 레이아웃 모바일 최적화 */
    #seatAssignmentModal .seat-list-item {
        padding: 0.4rem 0.5rem;
        margin-bottom: 0.3rem !important;
    }

    #seatAssignmentModal .seat-info-inline {
        gap: 6px;
        font-size: 1.0rem;
    }

    #seatAssignmentModal .seat-region-icon {
        font-size: 1.0rem;
    }

    #seatAssignmentModal .seat-region {
        min-width: 50px;
        font-size: 1.0rem;
    }

    #seatAssignmentModal .seat-icon {
        font-size: 1.0rem;
    }

    #seatAssignmentModal .seat-range {
        font-size: 1.0rem;
    }

    #seatAssignmentModal .seat-delete-btn {
        padding: 0.25rem 0.4rem;
        font-size: 0.7rem;
    }

    #seatAssignmentModal .seat-delete-btn i {
        font-size: 0.65rem;
    }

    /* 리스트 섹션 제목 - 모바일 여백 최소화 */
    #seatAssignmentModal .seat-list-section h6 {
        font-size: 0.85rem;
        margin-bottom: 0.4rem !important;
    }
}

/* ========================================
   Modal z-index 설정 (SweetAlert2 호환)
   ======================================== */

/* Bootstrap 모달의 올바른 z-index 레이어링:
   1. modal-backdrop (배경) - 낮은 값
   2. modal (콘텐츠) - backdrop보다 높은 값
   3. SweetAlert2 (알림) - 10000 (기본값)
*/

/* 모달 backdrop은 모달보다 낮아야 함 */
.modal-backdrop {
    z-index: 1040 !important;
}

/* 모달은 backdrop보다 높아야 클릭 가능 */
.modal {
    z-index: 1050 !important;
}

/* 좌석배정 모달 명시적 설정 */
#seatAssignmentModal {
    z-index: 1050 !important;
}