/* Estilos básicos, pensados para no pelearse con el CSS general de COOPOLO */

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.reclamo-wrapper {
    max-width: 960px;
    margin: 1.5rem auto;
    padding: 1rem;
}

.reclamo-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    padding: 1.5rem;
}

.reclamo-header {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.reclamo-header h1 {
    font-size: 1.4rem;
    margin: 0 0 0.25rem 0;
    text-transform: uppercase;
}

.reclamo-header h2 {
    font-size: 1rem;
    margin: 0;
    font-weight: normal;
    color: #4b5563;
}

.reclamo-header p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    color: #4b5563;
}

.reclamo-alert {
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.reclamo-alert-info {
    background: #e0f2fe;
    color: #0f172a;
}

.reclamo-alert-error {
    background: #fee2e2;
    color: #7f1d1d;
}

.reclamo-alert-success {
    background: #dcfce7;
    color: #14532d;
}

form.reclamo-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: 1 / -1;
}

label {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: #374151;
}

label span.required {
    color: #b91c1c;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    border-radius: 4px;
    border: 1px solid #d1d5db;
    padding: 0.45rem 0.5rem;
    font-size: 0.9rem;
    width: 100%;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
    min-height: 90px;
}

.form-help {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.2rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.2rem;
}

.form-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.btn-submit {
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 0.6rem 1.6rem;
    font-size: 0.95rem;
    cursor: pointer;
    font-weight: 600;
}

.btn-submit:hover {
    background: #1d4ed8;
}

.codigo-reclamo {
    font-weight: 700;
}

@media (max-width: 768px) {
    .reclamo-card {
        padding: 1rem;
    }

    form.reclamo-form {
        grid-template-columns: 1fr;
    }

    .form-actions {
        justify-content: center;
    }
}
