/* Inquiry Board Styles */
.inquiry-container {
    max-width: 1000px;
    margin: 120px auto 60px;
    padding: 0 20px;
}

.inquiry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.inquiry-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.inquiry-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.inquiry-table th,
.inquiry-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
}

.inquiry-table th {
    background: rgba(0, 0, 0, 0.2);
    font-weight: 600;
    color: white;
    font-size: 0.9rem;
}

.inquiry-table tr:last-child td {
    border-bottom: none;
}

.inquiry-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-OPEN {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.status-ANSWERED {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.status-CLOSED {
    background: rgba(107, 114, 128, 0.2);
    color: #9ca3af;
}

.secret-icon {
    margin-right: 6px;
    font-size: 0.9rem;
}

.inquiry-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #cbd5e1;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
}

.form-control:focus {
    outline: none;
    border-color: #6366f1;
}

textarea.form-control {
    min-height: 200px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
}

.inquiry-view {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
    padding: 30px;
}

.view-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.view-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.view-meta {
    display: flex;
    gap: 15px;
    color: #94a3b8;
    font-size: 0.9rem;
}

.view-content {
    line-height: 1.6;
    color: #e2e8f0;
    white-space: pre-wrap;
    min-height: 100px;
}

.admin-reply-box {
    margin-top: 30px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.admin-reply-header {
    font-weight: 700;
    color: #818cf8;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.password-prompt {
    text-align: center;
    padding: 40px;
}

.modal-auth {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1e293b;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 300px;
    display: none;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    display: none;
}