/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* ==========================================================================
   FORMULARIO DE REGISTRO - ESTILOS BÁSICOS
   ========================================================================== */

/* Variables */
:root {
    --primary-color: #e91e63;
    --secondary-color: #ff9800;
    --success-color: #4caf50;
    --error-color: #f44336;
    --text-color: #333;
    --border-color: #ddd;
    --background-color: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Container principal */
.registro-proveedor-container {
    background: var(--background-color);
    min-height: 100vh;
    padding: 40px 20px;
}

.registro-proveedor-container .container {
    max-width: 800px;
    margin: 0 auto;
}

/* Header */
.registro-header {
    text-align: center;
    margin-bottom: 40px;
}

.registro-header h1 {
    color: var(--text-color);
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.registro-header p {
    color: #666;
    font-size: 1.2rem;
    margin: 0;
}

/* Formulario principal */
.form-registro {
    background: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--shadow);
}

/* Secciones del formulario */
.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.section-description {
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

/* Layout de filas */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

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

/* Labels */
.form-group label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 1rem;
}

/* Campos de entrada */
.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.form-group input:disabled,
.form-group select:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Texto de ayuda */
.help-text {
    color: #666;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Grid de servicios */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.servicio-item {
    position: relative;
}

.servicio-item input[type="checkbox"] {
    display: none;
}

.servicio-label {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--white);
}

.servicio-label:hover {
    border-color: var(--primary-color);
    background: rgba(233, 30, 99, 0.05);
}

.servicio-item input[type="checkbox"]:checked + .servicio-label {
    border-color: var(--primary-color);
    background: rgba(233, 30, 99, 0.1);
}

.servicio-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.servicio-info {
    display: flex;
    flex-direction: column;
}

.servicio-info strong {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.servicio-info span {
    color: #666;
    font-size: 0.9rem;
}

/* Checkboxes personalizados para términos */
.terminos-section {
    background: var(--background-color);
    padding: 20px;
    border-radius: 8px;
    margin-top: 10px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    position: absolute;
    color: white;
    font-size: 14px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-container a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-container a:hover {
    text-decoration: underline;
}

/* Sección de envío */
.form-submit {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-submit:active {
    transform: translateY(0);
}

.submit-note {
    color: #666;
    font-size: 0.9rem;
    margin-top: 15px;
    font-style: italic;
}

/* Estados de validación */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--error-color);
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

.form-group input.success,
.form-group select.success,
.form-group textarea.success {
    border-color: var(--success-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .registro-proveedor-container {
        padding: 20px 10px;
    }
    
    .form-registro {
        padding: 25px 20px;
    }
    
    .registro-header h1 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .servicio-label {
        padding: 12px;
    }
    
    .servicio-icon {
        font-size: 1.5rem;
    }
    
    .form-section h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .form-registro {
        padding: 20px 15px;
    }
    
    .registro-header h1 {
        font-size: 1.8rem;
    }
    
    .btn-submit {
        width: 100%;
        padding: 12px 20px;
    }
    
    .servicio-label {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .checkbox-container {
        font-size: 0.9rem;
    }
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-section {
    animation: fadeIn 0.6s ease-out;
}

/* Loading state para el botón */
.btn-submit.loading {
    position: relative;
    color: transparent;
}

.btn-submit.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Mejoras de accesibilidad */
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible,
.servicio-label:focus-visible,
.checkbox-container:focus-visible,
.btn-submit:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Estados hover para elementos interactivos */
.checkbox-container:hover .checkmark {
    border-color: var(--primary-color);
}

/* Estilos adicionales para mejor UX */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    font-style: italic;
}

.form-section:nth-child(odd) {
    background: rgba(248, 249, 250, 0.5);
    margin: 0 -40px;
    padding: 30px 40px;
    border-radius: 8px;
}

/* Indicadores visuales */
.required-field::after {
    content: " *";
    color: var(--error-color);
    font-weight: bold;
}

/* Tooltips informativos */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
    margin-left: 5px;
}

.tooltip::before {
    content: "?";
    background: #007cba;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    width: 120px;
    background: #333;
    color: white;
    text-align: center;
    padding: 8px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    z-index: 1000;
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Mensaje de error general */
.form-error {
    background: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid var(--error-color);
}

/* Mensaje de éxito general */
.form-success {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid var(--success-color);
}

/* Estilos para campos con íconos */
.form-group.with-icon {
    position: relative;
}

.form-group.with-icon input {
    padding-left: 40px;
}

.form-group.with-icon::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 35px;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.5;
}

.form-group.email-field::before {
    content: "✉";
    font-size: 16px;
    line-height: 20px;
}

.form-group.phone-field::before {
    content: "📞";
    font-size: 16px;
    line-height: 20px;
}

/* Mejoras visuales para el select */
.form-group select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
}

/* Estilos para campos deshabilitados */
.form-group select:disabled {
    background-image: none;
}

/* Contador de caracteres mejorado */
.char-counter {
    text-align: right;
    font-size: 0.8rem;
    color: #666;
    margin-top: 3px;
}

.char-counter.warning {
    color: var(--warning-color);
}

.char-counter.error {
    color: var(--error-color);
}

/* Animaciones de transición suaves */
.form-group input,
.form-group select,
.form-group textarea {
    transition: all 0.2s ease-in-out;
}

.servicio-label {
    transition: all 0.2s ease-in-out;
}

.checkmark {
    transition: all 0.2s ease-in-out;
}

/* Mejoras para pantallas de alta resolución */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .servicio-icon {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Estados de foco mejorados */
.form-group:focus-within label {
    color: var(--primary-color);
}

/* Estilos para impresión */
@media print {
    .registro-proveedor-container {
        background: white;
        padding: 20px;
    }
    
    .form-registro {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .btn-submit {
        display: none;
    }
    
    .form-section {
        page-break-inside: avoid;
    }
}

/* Modo oscuro (opcional) */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #e0e0e0;
        --background-color: #1a1a1a;
        --white: #2d2d2d;
        --border-color: #404040;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        background: #2d2d2d;
        color: #e0e0e0;
        border-color: #404040;
    }
    
    .servicio-label {
        background: #2d2d2d;
        color: #e0e0e0;
    }
    
    .terminos-section {
        background: #1f1f1f;
    }
}

/* ==========================================================================
   DASHBOARD DEL PROVEEDOR - ESTILOS CSS
   ========================================================================== */

:root {
    --primary-color: #e91e63;
    --secondary-color: #ff9800;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --danger-color: #f44336;
    --info-color: #2196f3;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --shadow-light: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 16px rgba(0,0,0,0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* ==========================================================================
   CONTAINER PRINCIPAL
   ========================================================================== */

.dashboard-proveedor-container {
    background: var(--background-light);
    min-height: 100vh;
    padding: 20px;
}

.dashboard-proveedor-container .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================================================
   HEADER DEL DASHBOARD
   ========================================================================== */

.dashboard-header {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-light);
}

.user-welcome h1 {
    color: var(--text-color);
    margin-bottom: 5px;
    font-size: 2rem;
}

.user-welcome p {
    color: var(--text-light);
    margin: 0;
    font-size: 1.1rem;
}

.btn-logout {
    background: var(--danger-color);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-logout:hover {
    background: #d32f2f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ==========================================================================
   ALERTA PARA USUARIOS SIN PROVEEDOR
   ========================================================================== */

.no-proveedor {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-light);
}

.alert {
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid;
}

.alert-info {
    background: #e3f2fd;
    border-color: #bbdefb;
    color: #1565c0;
}

.alert h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.alert p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* ==========================================================================
   BARRA DE ESTADO
   ========================================================================== */

.status-bar {
    margin-bottom: 30px;
}

.status-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-light);
    border-left: 4px solid;
}

.status-card.status-pending {
    border-left-color: var(--warning-color);
}

.status-card.status-verified {
    border-left-color: var(--success-color);
}

.status-card.status-active {
    border-left-color: var(--info-color);
}

.status-card.status-draft {
    border-left-color: var(--text-light);
}

.status-icon {
    font-size: 2.5rem;
    opacity: 0.8;
}

.status-card.status-pending .status-icon {
    color: var(--warning-color);
}

.status-card.status-verified .status-icon {
    color: var(--success-color);
}

.status-card.status-active .status-icon {
    color: var(--info-color);
}

.status-card.status-draft .status-icon {
    color: var(--text-light);
}

.status-info h3 {
    margin: 0 0 8px 0;
    color: var(--text-color);
    font-size: 1.4rem;
}

.status-info p {
    margin: 0 0 5px 0;
    color: var(--text-light);
    font-size: 1rem;
}

.status-info small {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ==========================================================================
   NAVEGACIÓN DE TABS
   ========================================================================== */

.dashboard-nav {
    margin-bottom: 30px;
}

.tab-nav {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 15px;
    display: flex;
    gap: 10px;
    box-shadow: var(--shadow-light);
    overflow-x: auto;
}

.tab-link {
    padding: 12px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    border: 2px solid transparent;
}

.tab-link:hover {
    background: var(--background-light);
    color: var(--primary-color);
}

.tab-link.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* ==========================================================================
   CONTENIDO DE TABS
   ========================================================================== */

.dashboard-tabs {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-light);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

.tab-content h2 {
    color: var(--text-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--background-light);
}

/* ==========================================================================
   DASHBOARD GRID Y CARDS
   ========================================================================== */

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.dashboard-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.dashboard-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.card-header {
    background: var(--background-light);
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.card-header h3 {
    margin: 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

.card-content {
    padding: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-row strong {
    color: var(--text-color);
    min-width: 80px;
    flex-shrink: 0;
}

.info-row span {
    color: var(--text-light);
    text-align: right;
}

.no-data {
    color: var(--text-light);
    font-style: italic;
    text-align: center;
    padding: 20px;
}

/* ==========================================================================
   SERVICIOS
   ========================================================================== */

.servicios-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.servicio-tag {
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.servicio-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    background: var(--white);
}

.servicio-card h4 {
    margin: 0 0 10px 0;
    color: var(--primary-color);
}

.servicio-card p {
    color: var(--text-light);
    margin: 0 0 15px 0;
}

.servicio-actions {
    text-align: right;
}

/* ==========================================================================
   ESTADÍSTICAS
   ========================================================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    padding: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.stats-dashboard {
    max-width: 800px;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 25px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-3px);
}

.stat-card .stat-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    opacity: 0.8;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin: 0 0 10px 0;
    font-weight: 700;
}

.stat-card p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

.coming-soon {
    text-align: center;
    padding: 40px;
    background: var(--background-light);
    border-radius: var(--border-radius);
}

.coming-soon h3 {
    color: var(--text-color);
    margin-bottom: 15px;
}

.coming-soon p {
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ==========================================================================
   ACCIONES RÁPIDAS
   ========================================================================== */

.quick-actions {
    margin-top: 40px;
}

.quick-actions h3 {
    color: var(--text-color);
    margin-bottom: 20px;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.action-btn {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.action-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.action-btn i {
    font-size: 2rem;
    opacity: 0.8;
}

.action-btn span {
    font-weight: 600;
}

/* ==========================================================================
   FORMULARIOS
   ========================================================================== */

.dashboard-form {
    max-width: 800px;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

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

.form-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    margin-top: 30px;
}

/* ==========================================================================
   BOTONES
   ========================================================================== */

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #c2185b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: var(--text-light);
    color: var(--white);
}

.btn-secondary:hover {
    background: #555;
}

.btn-danger {
    background: var(--danger-color);
    color: var(--white);
}

.btn-danger:hover {
    background: #d32f2f;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* ==========================================================================
   CONFIGURACIÓN
   ========================================================================== */

.config-sections {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.config-section {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
}

.config-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--text-color);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 10px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.checkbox-container:hover {
    background: var(--background-light);
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 3px;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    position: absolute;
    color: white;
    font-size: 14px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ==========================================================================
   ANIMACIONES
   ========================================================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 768px) {
    .dashboard-proveedor-container {
        padding: 15px;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 25px 20px;
    }
    
    .dashboard-header h1 {
        font-size: 1.8rem;
    }
    
    .tab-nav {
        flex-direction: column;
        gap: 5px;
    }
    
    .tab-link {
        justify-content: center;
    }
    
    .dashboard-tabs {
        padding: 20px 15px;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stats-cards {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .config-sections {
        gap: 25px;
    }
    
    .config-section {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .dashboard-tabs {
        padding: 15px 10px;
    }
    
    .tab-content h2 {
        font-size: 1.5rem;
    }
    
    .card-content,
    .card-header {
        padding: 15px;
    }
    
    .status-card {
        padding: 20px 15px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .status-icon {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
    }
}

/* ==========================================================================
   UTILIDADES
   ========================================================================== */

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

.mt-0 { margin-top: 0; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }

/* Variables CSS para La Vida en Flor */
:root {
    --primary-gradient: linear-gradient(135deg, #E91E63, #FF9800, #8BC34A, #9C27B0);
    --primary-pink: #E91E63;
    --primary-orange: #FF9800;
    --primary-green: #8BC34A;
    --primary-purple: #9C27B0;
    --text-dark: #2C3E50;
    --text-light: #ffffff;
    --background-light: #F8F9FA;
    --shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* Hero Principal */
.hero-lavida {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.05), rgba(255, 152, 0, 0.05), rgba(139, 195, 74, 0.05));
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 80px 0 40px;
}

.hero-lavida::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: var(--primary-gradient);
    border-radius: 50%;
    opacity: 0.03;
    animation: float 20s ease-in-out infinite;
}

.hero-lavida::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: var(--primary-gradient);
    border-radius: 50%;
    opacity: 0.02;
    animation: float 25s ease-in-out infinite reverse;
}

/* Animaciones */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(30deg); }
}

/* Container */
.hero-lavida .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Grid del Hero */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

/* Logo Section */
.logo-section {
    margin-bottom: 30px;
}

.logo-lavida {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

.logo-lavida::before {
    content: '🌸';
    font-size: 36px;
    animation: rotate 10s linear infinite;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #666;
}

/* Tipografía */
.hero-lavida h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-lavida h1 .gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

.hero-lavida .subtitle {
    font-size: 1.5rem;
    color: #666;
    font-weight: 300;
    margin-bottom: 30px;
    line-height: 1.4;
}

.hero-lavida .description {
    font-size: 1.1rem;
    color: #777;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Botones CTA */
.cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.btn-primary-lavida {
    background: var(--primary-gradient);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.btn-primary-lavida::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary-lavida:hover::before {
    left: 100%;
}

.btn-primary-lavida:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 70px rgba(0,0,0,0.15);
}

.btn-secondary-lavida {
    background: transparent;
    color: var(--primary-pink);
    padding: 15px 30px;
    border: 2px solid var(--primary-pink);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-secondary-lavida:hover {
    background: var(--primary-pink);
    color: white;
    transform: translateY(-3px);
}

/* Indicadores de confianza */
.trust-indicators {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 0.9rem;
}

.trust-icon {
    width: 20px;
    height: 20px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

/* Sección Visual */
.hero-visual {
    position: relative;
    animation: slideInRight 1s ease-out;
}

.hero-image {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(255, 152, 0, 0.1));
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(233, 30, 99, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

/* Tarjetas de servicios */
.service-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.service-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-pink);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

.service-card h3 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.service-card p {
    font-size: 0.8rem;
    color: #666;
}

/* Estadísticas */
.stats {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 30px;
    z-index: 3;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-pink);
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-lavida h1 {
        font-size: 2.5rem;
    }

    .hero-lavida .subtitle {
        font-size: 1.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .trust-indicators {
        justify-content: center;
    }

    .stats {
        position: relative;
        bottom: 0;
        transform: none;
        margin-top: 30px;
    }
}

.proveedores-home {
    background: #f8f9fa;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.proveedores-home:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.05), rgba(255, 152, 0, 0.05));
    z-index: 0;
}

.proveedores-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    gap: 20px;
}

.header-content {
    flex: 1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 10px 0;
    background: linear-gradient(135deg, #e91e63, #ff9800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

.btn-ver-mas {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #e91e63, #ff9800);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.btn-ver-mas:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.proveedores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.proveedor-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.proveedor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.badge-verificado {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: #27ae60;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card-header {
    padding: 30px 25px;
    color: white;
    position: relative;
}

.servicio-principal {
    display: flex;
    align-items: center;
    gap: 12px;
}

.servicio-icono {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.servicio-nombre {
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.card-body {
    padding: 25px;
    flex: 1;
}

.proveedor-nombre {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.proveedor-ubicacion {
    color: #7f8c8d;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
}

.proveedor-ubicacion svg {
    stroke: #e91e63;
    flex-shrink: 0;
}

.proveedor-experiencia {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.proveedor-experiencia svg {
    fill: #ff9800;
    flex-shrink: 0;
}

.proveedor-experiencia span {
    color: #e65100;
    font-weight: 600;
    font-size: 0.9rem;
}

.caracteristicas {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.caracteristica {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #7f8c8d;
    font-size: 0.85rem;
}

.caracteristica svg {
    stroke: #3498db;
    flex-shrink: 0;
}

.proveedor-descripcion {
    color: #666;
    line-height: 1.6;
    margin: 15px 0 0 0;
    font-size: 0.9rem;
}

.card-footer {
    padding: 20px 25px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 10px;
}

.btn-ver-perfil {
    flex: 1;
    padding: 12px 20px;
    background: linear-gradient(135deg, #e91e63, #ff9800);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-ver-perfil:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.btn-contactar {
    padding: 12px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #e91e63;
}

.btn-contactar:hover {
    background: #e91e63;
    border-color: #e91e63;
    color: white;
}

.btn-contactar svg {
    stroke: currentColor;
}

.no-proveedores {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 15px;
}

.no-proveedores-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #e91e63, #ff9800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-proveedores-icon svg {
    stroke: white;
}

.no-proveedores h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 0 0 15px 0;
}

.no-proveedores p {
    font-size: 1.1rem;
    color: #666;
    margin: 0 0 30px 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.btn-registrarse {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #e91e63, #ff9800);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-registrarse:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

@media (max-width: 768px) {
    .proveedores-home {
        padding: 60px 15px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .proveedores-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card-footer {
        flex-direction: column;
    }
    
    .btn-contactar {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .proveedor-nombre {
        font-size: 1.2rem;
    }
}
