/* Bootstrap 5 스타일 */
.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.075);
}

.table-inquiry {
    border-top: 2px solid #dee2e6;
}

.inquiry-row {
    background-color: #ffffff;
}

.inquiry-row:hover {
    background-color: #f0f0f0 !important;
}

.reply-row {
    border-left: 3px solid #007bff;
    background-color: #f8f9fa;
    border-radius: 5px;
    margin-bottom: 10px;
}

.reply-header {
    font-size: 0.9rem;
    color: #6c757d;
    display: block;
    padding-left: 15px;
    padding-top: 10px;
}

.reply-content {
    margin-top: 5px;
    white-space: pre-wrap;
    word-break: break-word;
    padding-left: 15px;
    padding-bottom: 10px;
}

.modal-content {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.modal-header {
    background-color: #e9ecef;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 1rem;
}

.modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 500;
}

.btn-close {
    margin-left: auto;
    padding: 0.5rem;
    background-color: transparent;
    border: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close:hover {
    opacity: 0.75;
}

.modal-body {
    padding: 1rem;
}

.form-label {
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.form-control,
.form-control:disabled,
.form-control:readonly {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-control:disabled,
.form-control:readonly {
    background-color: #e9ecef;
    opacity: 1;
}

textarea.form-control {
    height: auto;
    resize: vertical;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.btn-secondary,
.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-secondary:hover {
    color: #fff;
    background-color: #5a6268;
    border-color: #545b62;
}

.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}

.view-inquiry-btn,
.reply-btn,
.view-reply-btn {
    margin-left: 5px;
}

.disabled {
    pointer-events: none;
    opacity: 0.6;
    background-color: #e0e0e0 !important; /* 회색 배경색 */
    border-color: #e0e0e0 !important;  /* 회색 테두리색 */
    color: #666 !important; /* 텍스트 색상 어둡게 */
}
.disabled:hover {
    background-color: #e0e0e0 !important; /* 호버 시에도 동일한 색 유지 */
    border-color: #e0e0e0 !important;
}