/* 교정사항 확인 페이지 전용 스타일 */
.content-area {
    padding: 10px;
    min-height: calc(100vh - 200px);
    font-size: 13px;
}

.checkboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    width: calc(100% - 20px);
}

.auth-section {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    color: white;
    text-align: center;
}

.auth-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.auth-input {
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    width: 180px;
    text-align: center;
}

.auth-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-btn:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
}

.error-message {
    background: #ff6b6b;
    color: white;
    padding: 8px;
    border-radius: 6px;
    margin: 10px 0;
    text-align: center;
    font-size: 13px;
}

/* 검색 섹션 스타일 */
.search-section {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 6px;
    margin-bottom: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    border: 1px solid #e9ecef;
}

.search-form {
    margin-bottom: 6px;
}

.search-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 8px;
    align-items: end;
}

.search-field {
    display: flex;
    flex-direction: column;
}

.search-field label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 3px;
    font-size: 12px;
}

.search-field input,
.search-field select {
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
}

.search-buttons {
    display: flex;
    gap: 8px;
}

.search-btn,
.reset-btn {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    color: white;
    border: none;
}

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

.reset-btn {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #ddd;
}

.reset-btn:hover {
    background: #e9ecef;
}

.result-info {
    color: #666;
    font-size: 12px;
    text-align: center;
    padding: 4px;
    background: #e9ecef;
    border-radius: 4px;
    margin-top: 6px;
}

/* 페이지네이션 스타일 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin: 8px 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 5px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    transition: all 0.2s ease;
}

.pagination a:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.pagination .current {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    color: white;
    border-color: #4a5568;
}

.pagination .disabled {
    background: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

.pagination .page-info {
    margin: 0 8px;
    color: #666;
    font-size: 12px;
}

/* 테이블 스타일 */
.table-container {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: 1170px;
    margin: 0 auto;
    overflow-x: auto;
}

.table-header {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    color: white;
    display: grid;
    grid-template-columns: 120px 140px 150px 120px 180px 150px 150px 160px;
    gap: 1px;
    font-weight: 600;
    font-size: 13px;
    width: 1170px;
}

.table-header > div {
    padding: 6px 3px;
    text-align: center;
    background: inherit;
    color: white;
}

.table-body {
    background: #f8f9fa;
}

.table-row {
    display: grid;
    grid-template-columns: 120px 140px 150px 120px 180px 150px 150px 160px;
    gap: 1px;
    background: white;
    margin-bottom: 0.5px;
    transition: all 0.2s ease;
    width: 1170px;
}

.table-row.clickable:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
}

.table-row > div {
    padding: 6px 3px;
    text-align: center;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
}

.col-order {
    font-weight: 600;
}

.order-number {
    color: #4a5568;
    font-weight: bold;
}

.col-name {
    font-weight: 500;
    text-align: left;
    justify-content: flex-start;
    padding-left: 8px;
}

.col-date {
    color: #666;
}

.col-type {
    background: #e3f2fd;
    color: #1976d2;
    font-weight: 500;
    border-radius: 4px;
    margin: 2px;
}

.col-status {
    font-weight: 500;
}

.status-complete {
    color: #2e7d32;
    background: #e8f5e8;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 12px;
}

.status-processing {
    color: #f57c00;
    background: #fff3e0;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 12px;
}

.status-pending {
    color: #d32f2f;
    background: #ffebee;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 12px;
}

.col-amount {
    font-weight: 600;
    color: #2e7d32;
}

.col-proofreading {
    display: flex;
    align-items: center;
    justify-content: center;
}

.col-waybill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.waybill-link {
    font-weight: 500;
    color: #2563eb;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.waybill-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.waybill-number {
    font-weight: 500;
    color: #2563eb;
    cursor: help;
}

.proofreading-status {
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    min-width: 50px;
}

.proofreading-status.confirmed {
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.proofreading-status.pending {
    color: #9ca3af;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

/* 빈 상태 스타일 */
.empty-state {
    text-align: center;
    padding: 30px 15px;
    color: #666;
}

.empty-state h3 {
    color: #999;
    margin-bottom: 6px;
    font-size: 16px;
}

.empty-state p {
    font-size: 13px;
    line-height: 1.5;
}

/* 전화번호 인증 모달 스타일 */
.password-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.password-modal .modal-content {
    background: white;
    border-radius: 10px;
    padding: 0 !important;
    width: 420px !important;
    height: 380px !important;
    min-width: 420px !important;
    max-width: 420px !important;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: modalFadeIn 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    overflow: hidden;
}

.password-modal .modal-header-blue {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    position: relative;
    flex-shrink: 0;
}

.password-modal .modal-close-white {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 22px;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.password-modal .modal-close-white:hover {
    opacity: 1;
}

.password-modal .modal-body-content {
    padding: 20px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.password-modal .modal-content h3 {
    color: #2d3748;
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 700;
}

.password-modal .modal-content p {
    color: #4a5568;
    margin: 0 0 15px 0;
    font-size: 14px;
    font-weight: 500;
}

.password-modal .modal-content p strong {
    color: #2563eb;
    font-size: 16px;
}

.password-modal .modal-hint {
    background: #f0f4f8;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #475569;
    line-height: 1.4;
    font-weight: 500;
}

.password-modal .modal-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 12px;
    transition: all 0.2s ease;
    letter-spacing: 2px;
    box-sizing: border-box;
}

.password-modal .modal-input:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.password-modal .modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.password-modal .modal-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.password-modal .btn-confirm,
.password-modal .btn-verify {
    background: #2563eb;
    color: white;
}

.password-modal .btn-confirm:hover,
.password-modal .btn-verify:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.password-modal .btn-cancel {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.password-modal .btn-cancel:hover {
    background: #e2e8f0;
}

.password-modal .password-error {
    background: #fee;
    color: #dc2626;
    padding: 8px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 500;
}

.password-modal .modal-header {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    position: relative;
    flex-shrink: 0;
}

.password-modal .modal-header h2 {
    color: white;
    margin: 0;
    font-size: 18px;
}

.password-modal .modal-close {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 22px;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s;
}

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

/* 모바일 반응형 */
@media (max-width: 768px) {
    .checkboard-container {
        padding: 10px;
        width: calc(100% - 20px);
        max-width: 100%;
    }
    
    .table-container {
        width: 100%;
    }
    
    .table-header,
    .table-row {
        width: 100%;
    }
    
    .search-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .search-buttons {
        justify-content: center;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 100px 1fr 1fr 1fr 80px;
        font-size: 0.75rem;
    }
    
    .table-header > div:nth-child(n+6),
    .table-row > div:nth-child(n+6) {
        display: none;
    }
    
    .col-proofreading {
        display: flex;
    }
    
    .pagination {
        gap: 5px;
    }
    
    .pagination a,
    .pagination span {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

/* 페이지네이션 추가 스타일 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 10px 0;
    padding: 8px;
}

.page-btn {
    padding: 5px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 30px;
    text-align: center;
}

.page-btn:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    transform: translateY(-1px);
}

.page-btn.current {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    color: white;
    border-color: #4a5568;
}

.page-btn.prev-btn,
.page-btn.next-btn {
    font-weight: 600;
    color: #4a5568;
}

.page-dots {
    color: #6c757d;
    font-weight: bold;
    padding: 0 5px;
}

/* 이용안내 중앙 정렬 스타일 */
.list-info {
    display: flex;
    justify-content: center;
    margin: 15px 0;
    padding: 0 10px;
}

.info-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 12px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.info-box h4 {
    color: #495057;
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 600;
}

.info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.info-box li {
    padding: 5px 0;
    color: #6c757d;
    font-size: 13px;
    line-height: 1.4;
    border-bottom: 1px solid #f1f3f4;
    position: relative;
    padding-left: 16px;
}

.info-box li:last-child {
    border-bottom: none;
}

.info-box li:before {
    content: "•";
    color: #4a5568;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.info-box strong {
    color: #495057;
    font-weight: 600;
}

/* 로그인 메시지 스타일 */
.login-message {
    padding: 10px;
    border-radius: 6px;
    margin: 10px 0;
    text-align: center;
    font-weight: 500;
    font-size: 13px;
}

.login-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.login-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}