/**
 * Public styles for Libro de Reclamaciones Perú
 *
 * @link       https://www.tudominio.com
 * @since      1.0.0
 */

/* Form Container */
.lrp-form-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #333;
    line-height: 1.5;
}

/* Form Header */
.lrp-form-header {
    background-color: #0073aa;
    color: #fff;
    padding: 20px;
    border-radius: 5px 5px 0 0;
    text-align: center;
}

.lrp-form-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.lrp-form-header p {
    margin: 5px 0 0;
    font-size: 14px;
}

/* Provider Information */
.lrp-provider-info {
    background-color: #f5f5f5;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.lrp-provider-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.lrp-provider-row:last-child {
    margin-bottom: 0;
}

.lrp-provider-item {
    flex: 1;
    min-width: 250px;
    padding-right: 15px;
}

.lrp-provider-item strong {
    color: #0073aa;
}

/* Legal Text */
.lrp-legal-text {
    background-color: #f9f9f9;
    padding: 15px;
    border-left: 4px solid #0073aa;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

/* Form Body */
.lrp-form-body {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 5px 5px;
}

/* Form Sections */
.lrp-form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.lrp-form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.lrp-form-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #0073aa;
}

.lrp-form-section-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.lrp-form-section-header h4 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 600;
    color: #0073aa;
}

.lrp-form-section-description {
    margin: 0;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

/* Form Fields */
.lrp-form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px 15px;
}

.lrp-form-col {
    padding: 0 10px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.lrp-form-col-full {
    width: 100%;
}

.lrp-form-col-half {
    width: 50%;
}

.lrp-form-col-third {
    width: 33.333%;
}

.lrp-form-col-two-thirds {
    width: 66.666%;
}

.lrp-form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 14px;
}

.lrp-form-required {
    color: #d63638;
    margin-left: 3px;
}

.lrp-form-input,
.lrp-form-select,
.lrp-form-textarea {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.15s ease-in-out;
}

.lrp-form-input:focus,
.lrp-form-select:focus,
.lrp-form-textarea:focus {
    border-color: #0073aa;
    outline: 0;
    box-shadow: 0 0 0 1px #0073aa;
}

.lrp-form-textarea {
    min-height: 120px;
    resize: vertical;
}

.lrp-form-checkbox-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.lrp-form-checkbox {
    margin-right: 10px;
    margin-top: 3px;
}

.lrp-form-checkbox-label {
    font-size: 14px;
    line-height: 1.5;
}

.lrp-form-help-text {
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

/* Conditional Fields */
.lrp-conditional-fields {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    border-left: 4px solid #0073aa;
}

/* File Upload */
.lrp-file-upload {
    margin-top: 15px;
}

.lrp-file-upload-label {
    display: block;
    margin-bottom: 10px;
}

.lrp-file-upload-help {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Submit Button */
.lrp-form-actions {
    margin-top: 20px;
    text-align: center;
}

.lrp-submit-button {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

.lrp-submit-button:hover {
    background-color: #005177;
}

/* Aviso Obligatorio */
.lrp-aviso-container {
    max-width: 500px;
    margin: 0 auto;
    border: 2px solid #0073aa;
    border-radius: 5px;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.lrp-aviso-header {
    background-color: #0073aa;
    color: #fff;
    padding: 10px 15px;
    text-align: center;
}

.lrp-aviso-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}

.lrp-aviso-body {
    display: flex;
    padding: 15px;
    background-color: #fff;
}

.lrp-aviso-logo {
    flex: 0 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 15px;
}

.lrp-aviso-logo img {
    max-width: 100%;
    height: auto;
}

.lrp-aviso-text {
    flex: 1;
}

.lrp-aviso-title {
    font-size: 16px;
    font-weight: 600;
    color: #0073aa;
    margin-top: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.lrp-aviso-company {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    font-size: 13px;
}

.lrp-aviso-company p {
    margin: 5px 0;
}

@media (max-width: 480px) {
    .lrp-aviso-body {
        flex-direction: column;
    }
    
    .lrp-aviso-logo {
        padding-right: 0;
        padding-bottom: 15px;
    }
}

/* Error Messages */
.lrp-error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    border-left: 4px solid #721c24;
}

.lrp-error-list {
    margin: 10px 0 0;
    padding-left: 20px;
}

.lrp-field-error {
    color: #d63638;
    font-size: 12px;
    margin-top: 5px;
}

/* Success Message */
.lrp-success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    border-left: 4px solid #155724;
    text-align: center;
}

.lrp-success-message h3 {
    margin-top: 0;
    color: #155724;
}

.lrp-success-details {
    background-color: #fff;
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
    text-align: left;
}

.lrp-success-code {
    font-weight: bold;
    font-size: 18px;
    color: #0073aa;
}

/* Button Shortcode */
.lrp-button-container {
    margin: 20px 0;
}

.lrp-button {
    display: inline-flex;
    align-items: center;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.15s ease-in-out;
}

.lrp-button:hover {
    background-color: #005177;
    color: #fff;
}

.lrp-button-icon {
    margin-right: 8px;
    display: flex;
    align-items: center;
}

.lrp-button-icon svg {
    width: 20px;
    height: 20px;
}

/* Floating Button */
.lrp-button-floating {
    position: fixed;
    z-index: 999;
}

.lrp-position-bottom-right {
    bottom: 20px;
    right: 20px;
}

.lrp-position-bottom-left {
    bottom: 20px;
    left: 20px;
}

.lrp-position-top-right {
    top: 20px;
    right: 20px;
}

.lrp-position-top-left {
    top: 20px;
    left: 20px;
}

/* Fixed Button */
.lrp-button-fixed {
    position: fixed;
    z-index: 999;
    padding: 15px;
}

.lrp-button-fixed .lrp-button {
    padding: 12px 20px;
    font-size: 16px;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .lrp-form-col-half,
    .lrp-form-col-third,
    .lrp-form-col-two-thirds {
        width: 100%;
    }
    
    .lrp-form-header h2 {
        font-size: 20px;
    }
    
    .lrp-form-section h3 {
        font-size: 16px;
    }
    
    .lrp-form-body {
        padding: 15px;
    }
    
    .lrp-form-row {
        margin: 0 0 10px;
    }
    
    .lrp-form-col {
        padding: 0;
    }
}
