/* Lightweight dashboard contact widget */
.contact-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(2px);
}

.contact-modal-overlay.is-open {
    display: flex;
}

.contact-modal {
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    padding: 1.5rem;
}

.contact-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.contact-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #1f2937;
}

.contact-modal-header p {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    color: #6b7280;
}

.contact-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.25rem;
}

.contact-modal-close:hover {
    color: #374151;
}

.contact-modal .form-group {
    margin-bottom: 1rem;
}

.contact-modal .form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.contact-modal select,
.contact-modal textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
}

.contact-modal textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-modal select:focus,
.contact-modal textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.contact-modal-notice {
    margin-bottom: 1rem;
    padding: 0.75rem 0.9rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 8px;
}

.contact-modal-notice strong {
    color: #78350f;
}

.contact-modal-notice-em {
    display: block;
    margin-top: 0.35rem;
    font-weight: 600;
    color: #b45309;
}

.contact-modal-meta {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.contact-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.contact-modal-actions .btn-cancel {
    background: #e5e7eb;
    color: #374151;
    border: none;
    padding: 0.6rem 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
}

.contact-modal-actions .btn-submit {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
}

.contact-modal-actions .btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.contact-menu-btn {
    width: 100%;
    text-align: left;
    background: #f0f9ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.contact-menu-btn:hover {
    background: #dbeafe;
}
