/* contact.css - Styling for the contact page and generic forms */

.contact-form-container {
    width: 100%;
    max-width: 42rem; /* max-w-2xl */
    margin: 2.5rem auto 0;
    text-align: left;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem; /* gap-6 */
}
@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    margin-top: 1.5rem; /* mt-6 */
}

.form-label {
    display: block;
    font-size: 0.875rem; /* text-sm */
    font-weight: 500;
    color: #d1d5db; /* text-gray-300 */
    margin-bottom: 0.5rem; /* mb-2 */
}

.form-input,
.form-textarea {
    width: 100%;
    background-color: var(--dark-accent);
    color: white;
    padding: 0.75rem; /* p-3 */
    border-radius: 0.375rem; /* rounded-md */
    border: 1px solid #374151; /* border-gray-700 */
    outline: none;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #6b7280; /* placeholder-gray-500 */
}

.form-input:focus,
.form-textarea:focus {
    box-shadow: 0 0 0 2px var(--rgb-blue);
    border-color: transparent;
}

.form-actions {
    margin-top: 2rem; /* mt-8 */
    text-align: center;
}

.btn-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}
@media (min-width: 768px) {
    .btn-contact-submit {
        width: auto;
    }
}
