/* ==========================================================================
   ESTILOS PROFESIONALES DEL MODAL DEL BUZÓN - EDICIÓN CUERPO DE BOMBEROS
   ========================================================================== */

#buzonModal .modal-content {
    border-radius: 14px;
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    background-color: #ffffff;
}

#buzonModal .modal-header {
    background: linear-gradient(135deg, #cc2b2b 0%, #b31d1d 100%);
    color: white;
    padding: 25px 25px 20px;
    position: relative;
    text-align: center;
    border-bottom: 4px solid #f2bc18;
}

#buzonModal .modal-title {
    font-weight: 700;
    font-size: 1.6rem;
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

#buzonModal .close {
    color: white;
    opacity: 0.8;
    font-size: 2.2rem;
    font-weight: 300;
    position: absolute;
    right: 20px;
    top: 15px;
    transition: all 0.2s ease;
}

#buzonModal .close:hover {
    transform: rotate(90deg);
    color: #f2bc18;
    opacity: 1;
}

#buzonModal .modal-body {
    padding: 30px 35px;
    background-color: #fafafa;
}

/* Campos de entrada estándar */
.form-control-professional {
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 1rem;
    color: #2d3748;
    background-color: #ffffff !important;
    transition: all 0.2s ease-in-out;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
    width: 100%;
}

.form-control-professional:focus {
    outline: none !important;
    border-color: #e65c00 !important;
    box-shadow: 0 0 0 3px rgba(230, 92, 0, 0.15) !important;
}

#buzonForm textarea.form-control-professional {
    min-height: 110px;
    resize: vertical;
    line-height: 1.5;
}

/* Comportamiento base de etiquetas flotantes */
.label-floating {
    position: absolute;
    left: 16px;
    top: 14px;
    font-size: 0.95rem;
    color: #718096;
    pointer-events: none;
    transition: all 0.2s ease-in-out;
    background: transparent;
    padding: 0 6px;
    z-index: 10;
}

/* Activación de flotado al enfocar o rellenar */
.form-control-professional:focus ~ .label-floating,
.form-control-professional:not(:placeholder-shown) ~ .label-floating,
.captcha-input-result:focus ~ .label-floating,
.captcha-input-result:not(:placeholder-shown) ~ .label-floating {
    top: -10px !important;
    left: 12px !important;
    font-size: 0.8rem !important;
    color: #b31d1d !important;
    font-weight: 600 !important;
    background: #ffffff !important;
    z-index: 12;
}

/* Contenedor y campos de la calculadora Captcha */
.captcha-container {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-left: 5px solid #f2bc18;
    border-radius: 8px;
    padding: 16px;
    margin: 25px 0 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.captcha-container label {
    display: block;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 12px;
    font-size: 1rem;
}

.captcha-container label i {
    color: #cc2b2b;
    margin-right: 6px;
}

.captcha-input-readonly {
    background: #f7fafc !important;
    border: 2px solid #cbd5e0;
    color: #2d3748;
    font-weight: 700;
    font-size: 1.15rem;
    height: 45px;
    text-align: center;
}

.captcha-input-result {
    background: #ffffff !important;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.15rem;
    height: 45px;
    text-align: center;
    width: 100%;
    transition: all 0.2s ease-in-out;
}

.captcha-input-result:focus {
    outline: none !important;
    border-color: #e65c00 !important;
    box-shadow: 0 0 0 3px rgba(230, 92, 0, 0.15) !important;
}

/* Botón de acción */
.btn-professional {
    background: linear-gradient(135deg, #cc2b2b 0%, #b31d1d 100%);
    border: none;
    color: white;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(179, 29, 29, 0.3);
    width: 100%;
    margin-top: 5px;
}

.btn-professional:hover {
    background: linear-gradient(135deg, #e63939 0%, #cc2b2b 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(179, 29, 29, 0.4);
}

.btn-professional:active {
    transform: translateY(-1px);
}

.btn-professional:disabled {
    background: #cbd5e0;
    box-shadow: none;
    transform: none;
    opacity: 0.8;
}

/* Mensajes de Respuesta */
#responseMessage {
    margin: 15px 0;
    padding: 16px 20px;
    border-radius: 12px;
    border-left: 5px solid transparent;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#responseMessage .alert-success { border-left-color: #38a169; background-color: #f0fff4; color: #22543d; }
#responseMessage .alert-danger { border-left-color: #e53e3e; background-color: #fff5f5; color: #742a2a; }
#responseMessage .alert-warning { border-left-color: #dd6b20; background-color: #fffaf0; color: #7b341e; }

#responseMessage strong { font-weight: 700; display: block; margin-bottom: 4px; }
#responseMessage small { opacity: 0.9; font-size: 0.95rem; }
#responseMessage i { font-size: 1.8rem; margin-right: 12px; }

/* Responsive */
@media (max-width: 768px) {
    #buzonModal .modal-dialog { margin: 15px; }
    #buzonModal .modal-header { padding: 25px 20px 15px; }
    #buzonModal .modal-title { font-size: 1.5rem; }
    #buzonModal .modal-body { padding: 20px; }
    .form-control-professional { font-size: 0.95rem; }
    .btn-professional { padding: 12px 25px; font-size: 0.95rem; }
}