/* 공통 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.hidden {
    display: none !important;
}

/* 로그인 화면 */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-box {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-box h1 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 2em;
}

.subtitle {
    color: #7f8c8d;
    margin-bottom: 30px;
    font-size: 0.9em;
}

.help-text {
    margin-top: 20px;
    font-size: 0.85em;
    color: #95a5a6;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #34495e;
    font-size: 0.9em;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

textarea.form-control {
    resize: vertical;
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

/* 버튼 스타일 */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* 로딩 스피너 */
.loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 에러 메시지 */
.error-message {
    background: #fadbd8;
    color: #e74c3c;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #e74c3c;
    font-size: 0.9em;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #28a745;
    font-size: 0.9em;
}

/* Validation 힌트 */
.validation-hint {
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 0.9em;
    margin-top: 10px;
}

.validation-hint.warning {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.validation-hint.error {
    background: #fadbd8;
    color: #e74c3c;
    border-left: 4px solid #e74c3c;
}

.notice-box {
    background: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #ffc107;
    font-size: 0.9em;
    text-align: left;
}

.referral-link {
    display: inline-block;
    background: #f7931a;
    color: white !important;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.referral-link:hover {
    background: #e8820f;
    text-decoration: none;
}

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 0.8em;
    color: #95a5a6;
}

.form-footer {
    margin-top: 20px;
    text-align: center;
}

.form-footer a {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9em;
}

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

/* 대시보드 */
.dashboard-container {
    min-height: 100vh;
    background: #f8f9fa;
}

.dashboard-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.dashboard-header h1 {
    font-size: 1.8em;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: white;
}

.btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(23, 162, 184, 0.4);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9em;
}

.success-message {
    background: #d5f4e6;
    color: #27ae60;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #27ae60;
    font-size: 0.9em;
}

.dashboard-main {
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    color: #2c3e50;
    font-size: 1.5em;
}

.section-header .header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* 거래 카드 그리드 */
.trades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 20px;
}

.trade-card {
    background: white;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    border-left: 5px solid #3498db;
}

.trade-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left-color: #2980b9;
}

.trade-card.running {
    border-left-color: #27ae60;
}

.trade-card.stopped {
    border-left-color: #95a5a6;
}

.trade-card.error {
    border-left-color: #e74c3c;
    background: #fff5f5;
}

.trade-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.trade-symbol {
    font-size: 1.3em;
    font-weight: 600;
    color: #2c3e50;
}

.trade-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.status-running {
    background: #d5f4e6;
    color: #27ae60;
}

.status-stopped {
    background: #ecf0f1;
    color: #7f8c8d;
}

.status-created {
    background: #fef9e7;
    color: #f39c12;
}

.status-error {
    background: #fadbd8;
    color: #e74c3c;
}

.trade-info {
    margin-bottom: 15px;
}

.trade-info p {
    margin-bottom: 5px;
    color: #7f8c8d;
    font-size: 0.9em;
}

.trade-info strong {
    color: #34495e;
}

.trade-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.last-updated {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e1e8ed;
    font-size: 0.8em;
    color: #95a5a6;
    text-align: right;
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #95a5a6;
}

.empty-state p {
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* 모달 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 15px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #e1e8ed;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: #2c3e50;
    font-size: 1.5em;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2em;
    color: #95a5a6;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #e74c3c;
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #e1e8ed;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* 상세 정보 */
.detail-section {
    margin-bottom: 30px;
}

.detail-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.detail-info p {
    margin-bottom: 10px;
    color: #34495e;
}

.detail-info strong {
    color: #2c3e50;
    margin-right: 10px;
}

.settings-content {
    background: #f8f9fa;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 15px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 400px;
    overflow-y: auto;
    color: #2c3e50;
}

/* 사용자 테이블 */
.users-table-container {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow-x: auto;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.users-table thead {
    background: #f8f9fa;
}

.users-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #dee2e6;
}

.users-table td {
    padding: 15px;
    border-bottom: 1px solid #dee2e6;
}

.users-table tbody tr:hover {
    background: #f8f9fa;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-inactive {
    background: #f8d7da;
    color: #721c24;
}

/* 반응형 */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 15px 10px;
    }

    .dashboard-main {
        padding: 15px 5px;
    }

    .section {
        padding: 15px 10px;
        border-radius: 5px;
    }

    .section-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .trades-grid {
        grid-template-columns: 1fr;
    }

    .modal {
        padding: 0;
    }

    .modal-content {
        max-width: 100%;
        width: 100%;
        margin: 0;
        border-radius: 0;
        min-height: 100vh;
    }

    .modal-header {
        padding: 12px 8px;
    }

    .modal-body {
        padding: 10px 8px;
    }

    .modal-footer {
        padding: 12px 8px;
    }

    .users-table-container {
        padding: 5px;
    }

    .users-table {
        font-size: 0.85em;
    }

    .users-table th,
    .users-table td {
        padding: 8px 5px;
    }

    .login-container {
        padding: 10px;
    }
}

/* ==================== 거래 등록 UI 폼 스타일 ==================== */

/* 모달 크기 조정 */
.modal-large .modal-content {
    max-width: 900px;
    width: 95%;
}

/* UI 폼 컨테이너 */
.ui-form-container {
    padding: 10px 0;
}

.ui-form-container h3 {
    margin-bottom: 20px;
    color: #333;
}

/* 폼 섹션 */
.form-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.form-section h4 {
    margin-bottom: 15px;
    color: #555;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 10px;
}

/* 2열 그리드 레이아웃 */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* 체크박스 그룹 */
.checkbox-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input {
    margin-right: 8px;
}

/* 필수 필드 표시 */
.required {
    color: #dc3545;
    font-weight: bold;
}

/* OPEN 설정 스타일 */
#openSettingsContainer {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.open-setting-row {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.open-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 15px;
    font-weight: bold;
    font-size: 14px;
}

.open-fields {
    padding: 15px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.open-fields .form-group label {
    font-size: 12px;
    margin-bottom: 5px;
    color: #666;
}

.open-fields .form-control {
    padding: 5px 10px;
    font-size: 13px;
}

/* 섹션 헤더 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.info-text {
    font-size: 12px;
    color: #999;
    font-style: italic;
}

/* 텍스트 미리보기 영역 */
.text-preview-header {
    cursor: pointer;
    font-weight: bold;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
    user-select: none;
}

.text-preview-header:hover {
    background: #e9ecef;
}

.text-preview-content {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.text-actions {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
}

.text-preview {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    background: white !important;
    border: 1px solid #dee2e6;
    line-height: 1.4;
}

.text-preview.editable {
    background: #fffefa !important;
    border-color: #ffc107;
}

/* 성공 메시지 */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 10px 15px;
    border-radius: 5px;
    margin-top: 10px;
    border: 1px solid #c3e6cb;
}

/* Change Check 필드 숨김 처리 */
.change-check-field {
    transition: all 0.3s ease;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .modal-large .modal-content {
        max-width: 100%;
        width: 100%;
        margin: 10px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .open-fields {
        grid-template-columns: 1fr;
    }

    .checkbox-group {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* 스크롤바 스타일 */
#openSettingsContainer::-webkit-scrollbar {
    width: 8px;
}

#openSettingsContainer::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

#openSettingsContainer::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

#openSettingsContainer::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 버튼 호버 효과 */
.btn:hover {
    transform: translateY(-1px);
    transition: transform 0.2s ease;
}

/* 입력 필드 포커스 효과 */
.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* ======================= */
/* Easy/Advanced 탭 스타일 */
/* ======================= */

.tab-container {
    margin-bottom: 20px;
}

.tab-buttons {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e1e8ed;
}

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: #667eea;
    background: #f8f9fa;
}

.tab-btn.active {
    color: #667eea;
    border-bottom-color: #667eea;
    background: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 포지션 방향 버튼 */
.direction-buttons {
    display: flex;
    gap: 10px;
}

.direction-btn {
    flex: 1;
    padding: 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.direction-btn.long:hover,
.direction-btn.long.active {
    border-color: #28a745;
    background: #d4edda;
    color: #28a745;
}

.direction-btn.short:hover,
.direction-btn.short.active {
    border-color: #dc3545;
    background: #f8d7da;
    color: #dc3545;
}

/* 매도 방식 버튼 */
.close-method-buttons {
    display: flex;
    gap: 10px;
}

.close-method-btn {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
}

.close-method-btn:hover,
.close-method-btn.active {
    border-color: #667eea;
    background: #f0f3ff;
    color: #667eea;
}

/* 매수 방법 카드 */
.method-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

@media (max-width: 768px) {
    .method-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.method-card {
    padding: 15px 10px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.method-card:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.method-card.active {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.method-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.method-name {
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

.method-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    padding: 12px;
    background: #333;
    color: white;
    border-radius: 8px;
    font-size: 12px;
    text-align: left;
    line-height: 1.5;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.method-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #333;
}

.method-card:hover .method-tooltip {
    display: block;
}

/* Easy 미리보기 */
.easy-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.preview-item {
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.preview-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.preview-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.easy-preview-table {
    overflow-x: auto;
}

.easy-preview-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.easy-preview-table th,
.easy-preview-table td {
    padding: 10px;
    text-align: center;
    border: 1px solid #e1e8ed;
}

.easy-preview-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.easy-preview-table tr:hover {
    background: #f8f9ff;
}

/* 자동완성 드롭다운 */
.autocomplete-container {
    position: relative;
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 250px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
}

.autocomplete-dropdown.show {
    display: block;
}

.autocomplete-item {
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.autocomplete-item:hover,
.autocomplete-item.selected {
    background: #f0f4ff;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item .coin-symbol {
    font-weight: 600;
    color: #333;
}

.autocomplete-item .coin-name {
    font-size: 12px;
    color: #666;
}

.autocomplete-no-result {
    padding: 15px;
    text-align: center;
    color: #666;
    font-size: 13px;
}

/* Short 버튼 disabled 스타일 */
.direction-btn.disabled {
    background: #e9ecef !important;
    color: #999 !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.direction-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* RSI 설정 스타일 */
.rsi-settings {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.rsi-row {
    flex: 1;
}

.rsi-row label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.form-control-sm {
    padding: 6px 10px;
    font-size: 13px;
}

/* 진입/매도 옵션 스타일 */
.entry-options {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.entry-option-row {
    flex: 1;
}

.entry-option-row label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

/* 확인 모달 스타일 */
.modal-medium {
    max-width: 600px;
}

.confirm-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
}

.confirm-section {
    margin-bottom: 20px;
}

.confirm-section:last-child {
    margin-bottom: 0;
}

.confirm-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #e1e8ed;
}

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

.confirm-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e1e8ed;
}

.confirm-label {
    font-size: 12px;
    color: #666;
}

.confirm-value {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.confirm-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.confirm-option-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.confirm-option-tag.danger {
    background: #ffebee;
    color: #c62828;
}

.confirm-table-wrapper {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e1e8ed;
    border-radius: 6px;
}

.confirm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.confirm-table th,
.confirm-table td {
    padding: 8px 10px;
    text-align: center;
    border-bottom: 1px solid #e1e8ed;
}

.confirm-table th {
    background: #f1f3f4;
    font-weight: 600;
    color: #333;
    position: sticky;
    top: 0;
}

.confirm-table tr:last-child td {
    border-bottom: none;
}

.confirm-table tr:hover {
    background: #f8f9ff;
}

.confirm-warning {
    margin-top: 15px;
    padding: 12px;
    background: #fff3e0;
    border: 1px solid #ffb74d;
    border-radius: 6px;
    color: #e65100;
    font-size: 13px;
    text-align: center;
}
