/* ========================================
   FORMULARIO LIBRO DE RECLAMACIONES
   Diseño Moderno y Profesional
   ======================================== */

/* Contenedor Principal */
.neurlrp-container {
    max-width: 900px;
    margin: 40px auto;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    position: relative;
    overflow: hidden;
}

.neurlrp-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #e74c3c 0%, #c0392b 100%);
}

/* Header */
.neurlrp-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e9ecef;
    position: relative;
}

.neurlrp-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    border-radius: 2px;
}

.neurlrp-header h2 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 2em;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.neurlrp-header p {
    color: #6c757d;
    font-size: 1em;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Secciones */
.neurlrp-section {
    margin-bottom: 35px;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid #e74c3c;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.neurlrp-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.neurlrp-section h3 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.3em;
    color: #2c3e50;
    font-weight: 600;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f3f5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.neurlrp-section h3::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #e74c3c;
    border-radius: 50%;
    display: inline-block;
}

/* Grid System */
.neurlrp-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px 20px;
}

.neurlrp-col {
    flex: 1;
    padding: 0 12px;
    min-width: 280px;
}

.neurlrp-col-full {
    flex: 100%;
    padding: 0 12px;
}

/* Labels */
.neurlrp-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95em;
    color: #495057;
    transition: color 0.3s;
}

/* Inputs */
.neurlrp-container input[type="text"],
.neurlrp-container input[type="email"],
.neurlrp-container input[type="tel"],
.neurlrp-container input[type="file"],
.neurlrp-container select,
.neurlrp-container textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background: #ffffff;
    font-family: inherit;
}

.neurlrp-container input:focus,
.neurlrp-container select:focus,
.neurlrp-container textarea:focus {
    border-color: #e74c3c;
    outline: none;
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
    transform: translateY(-1px);
}

.neurlrp-container input:hover,
.neurlrp-container select:hover,
.neurlrp-container textarea:hover {
    border-color: #dee2e6;
}

.neurlrp-container textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.neurlrp-container select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23495057' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

/* Radio Groups */
.neurlrp-radio-group {
    display: flex;
    gap: 25px;
    padding: 12px 0;
    flex-wrap: wrap;
}

.neurlrp-radio-group label {
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.3s;
}

.neurlrp-radio-group label:hover {
    background: #f8f9fa;
}

.neurlrp-radio-group input[type="radio"] {
    cursor: pointer;
    width: 18px;
    height: 18px;
}

/* Tutor Section */
#neurlrp-tutor-section {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 2px dashed #e74c3c;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#neurlrp-tutor-section h4 {
    margin-top: 0;
    color: #c0392b;
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Footer & Button */
.neurlrp-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

.neurlrp-footer label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
    color: #495057;
    margin-bottom: 25px;
    cursor: pointer;
}

.neurlrp-footer input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

#neurlrp-submit-btn {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    padding: 16px 50px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#neurlrp-submit-btn:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

#neurlrp-submit-btn:active {
    transform: translateY(0);
}

#neurlrp-submit-btn:disabled {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Mensajes */
#neurlrp-message {
    margin-top: 25px;
    padding: 20px;
    border-radius: 10px;
    display: none;
    text-align: center;
    font-weight: 500;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.neurlrp-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 2px solid #28a745;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}

.neurlrp-success strong {
    font-size: 1.2em;
    display: block;
    margin-bottom: 8px;
}

.neurlrp-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 2px solid #dc3545;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.2);
}

/* Small Text */
.neurlrp-container small {
    display: block;
    margin-top: 6px;
    font-size: 0.85em;
    color: #6c757d;
    line-height: 1.4;
}

/* File Input Styling */
.neurlrp-container input[type="file"] {
    padding: 10px;
    cursor: pointer;
}

.neurlrp-container input[type="file"]::file-selector-button {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 12px;
    font-weight: 500;
    transition: all 0.3s;
}

.neurlrp-container input[type="file"]::file-selector-button:hover {
    background: linear-gradient(135deg, #495057 0%, #343a40 100%);
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
    .neurlrp-container {
        padding: 25px 20px;
        margin: 20px 15px;
        border-radius: 12px;
    }
    
    .neurlrp-header h2 {
        font-size: 1.6em;
    }
    
    .neurlrp-section {
        padding: 20px;
    }
    
    .neurlrp-col {
        flex: 100%;
        margin-bottom: 15px;
    }
    
    .neurlrp-radio-group {
        flex-direction: column;
        gap: 12px;
    }
    
    #neurlrp-submit-btn {
        width: 100%;
        padding: 14px 30px;
    }
}

@media (max-width: 480px) {
    .neurlrp-container {
        padding: 20px 15px;
    }
    
    .neurlrp-header h2 {
        font-size: 1.4em;
    }
    
    .neurlrp-section h3 {
        font-size: 1.1em;
    }
}
