/* Consultar Estado de Denuncia - Estilos */

/* Variables de colores FLAR */
:root {
    --flar-blue: #1e3a8a;
    --flar-blue-light: #f0f4ff;
    --flar-yellow: #fbbf24;
    --flar-success: #22c55e;
    --flar-danger: #ef4444;
    --flar-warning: #f59e0b;
    --flar-info: #3b82f6;
}

/* Layout general */
.container {
    max-width: 1200px;
}

/* Logo */
.logo {
    max-width: 200px;
    height: auto;
}

/* Card principal */
.card {
    border-radius: 12px;
    overflow: hidden;
}

.card-header.bg-custom-blue {
    background: linear-gradient(135deg, var(--flar-blue) 0%, #1e40af 100%);
    border: none;
}

/* Título principal */
.h2.text-custom-blue {
    color: var(--flar-blue) !important;
    font-size: 2rem;
    font-weight: 700;
}

/* Formulario */
.form-control-lg {
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.form-control-lg:focus {
    border-color: var(--flar-blue);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.15);
    background-color: #fefefe;
}

/* Labels con iconos */
.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
}

.form-label i {
    font-size: 1.1em;
}

/* Botón principal */
.btn-custom-blue {
    background: linear-gradient(135deg, var(--flar-blue) 0%, #1e40af 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(30, 58, 138, 0.1);
}

.btn-custom-blue:hover:not(:disabled) {
    background: linear-gradient(135deg, #1e40af 0%, var(--flar-blue) 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 12px -1px rgba(30, 58, 138, 0.15);
    color: white;
}

.btn-custom-blue:disabled {
    background: #9ca3af;
    transform: none;
    box-shadow: none;
}

/* Alertas personalizadas */
.alert {
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.alert-success {
    background-color: #f0fdf4;
    border-left: 4px solid var(--flar-success);
    color: #166534;
}

.alert-danger {
    background-color: #fef2f2;
    border-left: 4px solid var(--flar-danger);
    color: #991b1b;
}

.alert-info {
    background-color: var(--flar-blue-light);
    border-left: 4px solid var(--flar-info);
    color: var(--flar-blue);
}

.alert-heading {
    color: inherit;
    font-size: 1rem;
}

/* Cards de información adicional */
.card.bg-light {
    background-color: #f8fafc !important;
    transition: all 0.3s ease;
}

.card.bg-light:hover {
    background-color: var(--flar-blue-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Colores de texto personalizados */
.text-custom-blue {
    color: var(--flar-blue) !important;
}

/* reCAPTCHA container */
.g-recaptcha {
    transform: scale(1);
    transform-origin: 0 0;
}

/* Responsive reCAPTCHA */
@media (max-width: 576px) {
    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: 0 0;
    }
    
    /* Ajustar título en móviles */
    .h2.text-custom-blue {
        font-size: 1.75rem;
    }
}

/* Responsive para tablets */
@media (max-width: 768px) {
    .h2.text-custom-blue {
        font-size: 1.85rem;
    }
}

/* Loading states */
.btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* Form validation states */
.form-control.is-invalid {
    border-color: var(--flar-danger);
    box-shadow: 0 0 0 0.2rem rgba(239, 68, 68, 0.15);
}

.form-control.is-valid {
    border-color: var(--flar-success);
    box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.15);
}

/* Invalid feedback */
.invalid-feedback {
    color: var(--flar-danger);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.6s ease-out;
}

.alert {
    animation: fadeIn 0.4s ease-out;
}

/* Mejoras de accesibilidad */
.btn:focus-visible {
    outline: 2px solid var(--flar-blue);
    outline-offset: 2px;
}

.form-control:focus-visible {
    outline: none;
}

/* Estilos para links */
a.text-decoration-none:hover {
    text-decoration: underline !important;
}

/* Estados hover para iconos */
.bi {
    transition: transform 0.2s ease;
}

.card:hover .bi {
    transform: scale(1.1);
}

/* Mejoras tipográficas */
.h2 {
    font-weight: 700;
}

.lead {
    font-size: 1.15rem;
    line-height: 1.6;
}

/* Espaciado consistente */
.form-text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.form-text i {
    color: var(--flar-info);
}