/* Estilos para la app móvil con panel */
:root {
    --primary: #e91e8c;
    --primary-light: #ff1493;
    --white: #ffffff;
    --dark: #1a1a1a;
    --light-bg: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-bg);
    font-size: 14px;
}

/* Tipografía */
h1 { font-size: 24px; font-weight: 700; }
h2 { font-size: 22px; font-weight: 700; }
h3 { font-size: 18px; font-weight: 700; }
h4 { font-size: 16px; font-weight: 700; }
h5 { font-size: 14px; font-weight: 600; }
h6 { font-size: 13px; font-weight: 600; }

.panel {
    display: flex;
    height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 30px 20px;
    box-shadow: 2px 0 10px rgba(233, 30, 140, 0.2);
    transition: transform 0.3s ease;
}

.logo {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.logo h2 {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.menu ul {
    list-style: none;
}

.menu li {
    margin: 15px 0;
}

.menu-item {
    display: block;
    color: var(--white);
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.menu-item i {
    margin-right: 10px;
    width: 20px;
}

.menu-item:hover,
.menu-item.active {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

/* Main Content */
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: var(--light-bg);
}

.header {
    background-color: var(--white);
    padding: 20px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    color: var(--primary);
    font-size: 28px;
}

.btn-menu {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

.main-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.section.active {
    display: block;
}

.section h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 24px;
}

.section p {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

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

/* Componentes prediseñados */
.component-group {
    margin-bottom: 40px;
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.component-group h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 18px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
}

/* Inputs */
.input-container {
    margin-bottom: 15px;
}

.input-container label {
    display: block;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

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

textarea.input {
    resize: vertical;
    min-height: 100px;
}

/* Checkboxes personalizados */
.checkbox-container {
    margin-bottom: 12px;
}

.checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.checkbox input {
    display: none;
}

.checkmark {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #f0f0f0;
    border: 2px solid var(--primary);
    border-radius: 4px;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.checkbox input:checked ~ .checkmark {
    background-color: var(--primary);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
}

.checkbox input:checked ~ .checkmark::after {
    content: '✓';
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 14px;
    font-weight: bold;
}

.label-text {
    color: #333;
    font-size: 14px;
}

/* Radio buttons personalizados */
.radio-container {
    margin-bottom: 12px;
}

.radio {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.radio input {
    display: none;
}

.radiomark {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #f0f0f0;
    border: 2px solid var(--primary);
    border-radius: 50%;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.radio input:checked ~ .radiomark {
    background: radial-gradient(circle, var(--primary) 40%, transparent 40%);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
}

/* Botones */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(233, 30, 140, 0.3);
}

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

.btn-secondary {
    background-color: #f0f0f0;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-danger {
    background-color: #f44336;
    color: white;
}

.btn-danger:hover {
    background-color: #da190b;
}

.btn-success {
    background-color: #4CAF50;
    color: white;
}

.btn-success:hover {
    background-color: #45a049;
}

/* Tabla de datos */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14px;
}

.table thead {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
}

.table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.table tbody tr:hover {
    background-color: rgba(233, 30, 140, 0.05);
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success {
    background-color: #d4edda;
    color: #155724;
}

.badge-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--primary);
    margin: 0 5px;
    transition: all 0.3s ease;
}

.action-btn:hover {
    transform: scale(1.2);
}

.action-btn.delete:hover {
    color: #f44336;
}

/* Tarjetas */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

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

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

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin: 0 auto 15px;
}

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

.card p {
    color: #666;
    font-size: 14px;
}

/* Alertas */
.alert {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.alert i {
    margin-right: 12px;
    font-size: 18px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #4CAF50;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #f44336;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #2196F3;
}

/* Estilos de tarjetas personalizadas con Bootstrap */

/* Tarjeta de Perfil */
.card-profile {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card-profile:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.card-profile.gradient-fucsia {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.profile-avatar {
    font-size: 64px;
    color: var(--primary);
}

.card-profile.gradient-fucsia .profile-avatar {
    color: white;
}

/* Tarjeta de Estadísticas */
.card-stat {
    border: none;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.card-stat:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin: 0 auto 12px;
}

.card-stat h6 {
    color: #666;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary);
    margin: 0;
}

/* Tarjeta Personalizada con Header */
.card-custom {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card-custom:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.card-header-custom {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header-custom i {
    font-size: 18px;
}

.card-custom .card-body {
    padding: 15px;
}

.card-custom p {
    margin-bottom: 8px;
    font-size: 14px;
}

/* Tarjeta de Habilidades */
.card-skills {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.card-skills:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.card-skills .card-body {
    padding: 20px;
}

.card-skills .card-title {
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
}

.skill {
    margin-bottom: 15px;
}

.skill span {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.progress {
    border-radius: 10px;
    background-color: #e0e0e0;
}

/* Tarjeta de Acciones */
.card-action {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-action:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
    background-color: rgba(233, 30, 140, 0.05);
}

.card-action .card-body {
    text-align: center;
    padding: 20px;
}

.action-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    margin: 0 auto 12px;
    transition: all 0.3s ease;
}

.card-action:hover .action-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-action .card-text {
    color: #333;
    font-weight: 600;
    font-size: 14px;
    margin: 0;
}

/* Tarjeta Simple */
.card-simple {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.card-simple:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(233, 30, 140, 0.1);
}

.card-simple .card-body {
    padding: 20px;
}

.card-simple .card-title {
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.card-simple .card-text {
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.card-simple i {
    color: var(--primary);
    margin-right: 8px;
}

/* Responsive para tarjetas */
@media (max-width: 768px) {
    .card-stat {
        margin-bottom: 15px;
    }

    .card-profile .card-body {
        padding: 15px;
    }

    .stat-number {
        font-size: 24px;
    }

    .action-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .card-header-custom {
        padding: 12px;
        font-size: 14px;
    }
}

/* Estilos para formularios de autenticación */

.form-container {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.card-form {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.card-form:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.card-header-form {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 25px;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-header-form i {
    font-size: 24px;
}

.card-form .card-body {
    padding: 30px 25px;
}

/* Form Controls */
.form-control-lg {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control-lg:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(233, 30, 140, 0.1);
    color: #333;
}

.form-label {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-label i {
    color: var(--primary);
    font-size: 16px;
}

.form-text {
    display: block;
    margin-top: 6px;
    font-size: 12px;
}

.form-check-input {
    border: 2px solid #e0e0e0;
    width: 30px;
    height: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(233, 30, 140, 0.1);
}

.form-check-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(233, 30, 140, 0.1);
}

.form-check-label {
    color: #333;
    font-size: 14px;
    margin-left: 8px;
    cursor: pointer;
}

/* Botones de formularios */
.btn-login {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(233, 30, 140, 0.4);
    color: white;
}

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

.btn-register {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
    color: white;
}

.btn-recover {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: white;
    border: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-recover:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.4);
    color: white;
}

/* Divider */
.divider {
    text-align: center;
    position: relative;
    margin: 20px 0;
    color: #999;
    font-weight: 600;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 45%;
    height: 1px;
    background-color: #e0e0e0;
}

.divider::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 45%;
    height: 1px;
    background-color: #e0e0e0;
}

/* Social Login */
.social-login {
    display: flex;
    gap: 12px;
}

.btn-social {
    flex: 1;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    border-radius: 8px;
    padding: 10px;
    transition: all 0.3s ease;
}

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

.btn-social i {
    margin-right: 8px;
}

/* Links personalizados */
.link-password,
.link-terms,
.link-login,
.link-back {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.link-password:hover,
.link-terms:hover,
.link-login:hover,
.link-back:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .form-container {
        max-width: 100%;
        padding: 0 15px;
    }

    .card-form .card-body {
        padding: 20px;
    }

    .card-header-form {
        padding: 20px;
        font-size: 18px;
    }

    .form-control-lg {
        padding: 10px 12px;
        font-size: 14px;
    }

    .btn-login,
    .btn-register,
    .btn-recover {
        padding: 12px;
    }

    .social-login {
        flex-direction: column;
    }

    .btn-social {
        width: 100%;
    }

    .row {
        flex-direction: column;
    }

    .col-md-6 {
        width: 100%;
    }
}

/* Estilos para Centro de Ayuda y Documentación */

.documentation-search {
    max-width: 600px;
    margin: 0 auto 30px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background-color: white;
    border: 2px solid var(--primary);
    border-radius: 10px;
    padding: 12px 15px;
    box-shadow: 0 4px 15px rgba(233, 30, 140, 0.1);
}

.search-box i {
    color: var(--primary);
    margin-right: 12px;
    font-size: 18px;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
    background: transparent;
}

.search-input::placeholder {
    color: #999;
}

.btn-clear-search {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    display: none;
}

.btn-clear-search.show {
    display: block;
}

.btn-clear-search:hover {
    color: var(--primary);
}

.search-stats {
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    color: #666;
    display: none;
}

.search-stats.show {
    display: block;
}

/* Contenedor de Documentación */
.documentation-container {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-custom {
    border: none;
}

.accordion-item {
    border: none;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.accordion-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.accordion-item.hidden {
    display: none;
}

.accordion-header {
    margin: 0;
}

.accordion-custom-button {
    background-color: white;
    color: #333;
    border: none;
    padding: 18px 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.accordion-custom-button i {
    color: var(--primary);
    font-size: 20px;
}

.accordion-custom-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(233, 30, 140, 0.05) 0%, rgba(233, 30, 140, 0.02) 100%);
    color: var(--primary);
}

.accordion-custom-button:hover {
    background-color: rgba(233, 30, 140, 0.05);
    color: var(--primary);
}

.accordion-title {
    flex: 1;
    text-align: left;
}

.accordion-body {
    padding: 25px;
    background-color: white;
    color: #333;
    line-height: 1.8;
    font-size: 15px;
}

.accordion-body h5 {
    color: var(--primary);
    margin-top: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.accordion-body h5:first-child {
    margin-top: 0;
}

.accordion-body ol,
.accordion-body ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.accordion-body li {
    margin-bottom: 10px;
}

.accordion-body strong {
    color: var(--primary);
}

.accordion-body code {
    background-color: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    color: #d63384;
    font-size: 13px;
    font-family: 'Courier New', monospace;
}

/* Cajas de ejemplo */
.example-box {
    background-color: #f9f9f9;
    border-left: 4px solid var(--primary);
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    font-size: 14px;
}

.example-box strong {
    color: var(--primary);
}

/* Métodos de contacto */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background-color: rgba(233, 30, 140, 0.05);
    border-radius: 8px;
}

.contact-item i {
    color: var(--primary);
    font-size: 22px;
    margin-top: 5px;
}

.contact-item strong {
    color: var(--primary);
}

.contact-item p {
    margin: 5px 0;
    font-size: 15px;
}

/* Recursos Adicionales */
.additional-resources {
    max-width: 900px;
    margin: 0 auto;
}

.additional-resources h4 {
    color: var(--primary);
    margin-bottom: 25px;
    font-weight: 600;
}

.resource-card {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
}

.resource-card:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(233, 30, 140, 0.15);
    transform: translateY(-5px);
}

.resource-card i {
    color: var(--primary);
    font-size: 32px;
}

.resource-card h6 {
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
}

.resource-card p {
    color: #666;
    font-size: 13px;
    margin: 8px 0;
}

/* Mensajes sin resultados */
.docs-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.docs-no-results i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .documentation-search {
        padding: 0 15px;
    }

    .search-box {
        padding: 10px 12px;
    }

    .search-input {
        font-size: 14px;
    }

    .search-box i {
        font-size: 16px;
        margin-right: 8px;
    }

    .accordion-custom-button {
        padding: 12px 15px;
        font-size: 14px;
        gap: 10px;
    }

    .accordion-custom-button i {
        font-size: 16px;
    }

    .accordion-body {
        padding: 15px;
        font-size: 14px;
    }

    .contact-item {
        padding: 12px;
    }

    .resource-card i {
        font-size: 28px;
    }
}

/* Estilos para Panel de Configuración */

.settings-container {
    max-width: 900px;
    margin: 0 auto;
}

.settings-section {
    background-color: white;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.settings-section:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.section-header {
    background: linear-gradient(135deg, rgba(233, 30, 140, 0.1) 0%, rgba(233, 30, 140, 0.05) 100%);
    padding: 20px 25px;
    border-bottom: 2px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-header i {
    color: var(--primary);
    font-size: 24px;
}

.section-header h4 {
    margin: 0;
    color: var(--primary);
    font-weight: 600;
    font-size: 18px;
}

.section-content {
    padding: 25px;
}

.settings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #e0e0e0;
    gap: 20px;
}

.settings-item:last-child {
    border-bottom: none;
}

.setting-info {
    flex: 1;
}

.setting-info h6 {
    margin: 0 0 5px 0;
    color: #333;
    font-weight: 600;
    font-size: 15px;
}

.setting-info p {
    margin: 0;
    color: #999;
    font-size: 13px;
}

.setting-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Color Picker */
.color-picker {
    display: flex;
    gap: 12px;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    position: relative;
}

.color-option:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.color-option input {
    display: none;
}

.color-option i {
    display: none;
    font-size: 18px;
}

.color-option input:checked ~ i {
    display: block;
}

.color-option input:checked + i {
    display: block;
}

/* Range Slider */
.form-range {
    height: 6px;
    border-radius: 3px;
    background-color: #e0e0e0;
}

.form-range::-webkit-slider-thumb {
    background-color: var(--primary);
    border: none;
    box-shadow: 0 2px 8px rgba(233, 30, 140, 0.3);
}

.form-range::-moz-range-thumb {
    background-color: var(--primary);
    border: none;
    box-shadow: 0 2px 8px rgba(233, 30, 140, 0.3);
}

.range-value {
    background-color: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    min-width: 50px;
    text-align: center;
}

/* Toggle Switch */
.form-check-input {
    width: 30px;
    height: 28px;
    border-radius: 14px;
    cursor: pointer;
    border: none;
    background-color: #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
}

.form-check-input:checked {
    background-color: var(--primary);
    box-shadow: 0 2px 8px rgba(233, 30, 140, 0.3);
}

.form-check-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(233, 30, 140, 0.1);
}

.form-check-label {
    margin-bottom: 0;
}

/* Select */
.form-select-sm {
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-select-sm:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(233, 30, 140, 0.1);
}

/* Button Group */
.btn-group-toggle .btn {
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 6px;
    font-size: 13px;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

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

.btn-group-toggle .btn-check:checked + .btn {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Info Items */
.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: #333;
    font-weight: 600;
}

.info-item span {
    color: #666;
}

/* Action Buttons */
.settings-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.settings-actions .btn {
    min-width: 200px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.settings-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(233, 30, 140, 0.3);
}

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

.settings-actions .btn-outline-secondary:hover {
    background-color: #f0f0f0;
}

/* Responsive */
@media (max-width: 768px) {
    .settings-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .setting-control {
        width: 100%;
    }

    .setting-control .btn {
        width: 100%;
    }

    .setting-control .form-select-sm {
        width: 100%;
    }

    .section-header {
        padding: 15px 20px;
        font-size: 16px;
    }

    .section-content {
        padding: 15px 20px;
    }

    .color-picker {
        flex-wrap: wrap;
    }

    .settings-actions {
        flex-direction: column;
    }

    .settings-actions .btn {
        width: 100%;
    }

    .btn-group-toggle {
        display: flex;
        flex-direction: column !important;
    }

    .btn-group-toggle .btn {
        border-radius: 6px;
        width: 100%;
        margin-bottom: 8px;
    }

    .btn-group-toggle .btn:last-child {
        margin-bottom: 0;
    }
}

/* Tema Oscuro */
body.dark-theme {
    background-color: #1a1a1a;
    color: #ffffff;
}

body.dark-theme .sidebar {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

body.dark-theme .header {
    background-color: #2a2a2a;
}

body.dark-theme .content {
    background-color: #1a1a1a;
}

body.dark-theme .card-form,
body.dark-theme .settings-section,
body.dark-theme .card-profile {
    background-color: #2a2a2a;
    color: #ffffff;
}

body.dark-theme .card-form .card-body,
body.dark-theme .settings-section .section-content {
    background-color: #2a2a2a;
}

body.dark-theme .form-control-lg,
body.dark-theme .form-select-sm {
    background-color: #3a3a3a;
    color: #ffffff;
    border-color: #4a4a4a;
}

body.dark-theme .input {
    background-color: #3a3a3a;
    color: #ffffff;
    border-color: #4a4a4a;
}

body.dark-theme .alert {
    background-color: #3a3a3a;
}

body.dark-theme .section-header {
    background: linear-gradient(135deg, rgba(233, 30, 140, 0.15) 0%, rgba(233, 30, 140, 0.08) 100%);
}

/* Panel de Configuración Profesional */

.settings-header {
    margin-bottom: 40px;
    text-align: center;
}

.settings-header h2 {
    color: var(--primary);
    font-weight: 700;
    font-size: 32px;
}

.settings-header p {
    font-size: 16px;
    margin-top: 10px;
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    flex-shrink: 0;
}

.stat-content h6 {
    margin: 0;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.stat-label {
    font-size: 13px;
    color: #999;
    margin-top: 5px;
}

/* Charts Section */
.charts-section {
    margin-bottom: 40px;
}

.chart-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.chart-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.chart-header {
    background: linear-gradient(135deg, rgba(233, 30, 140, 0.1) 0%, rgba(233, 30, 140, 0.05) 100%);
    border-bottom: 2px solid var(--primary);
    padding: 20px;
}

.chart-header h5 {
    margin: 0;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-header i {
    font-size: 20px;
}

/* Settings Tabs */
.settings-tabs {
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 30px;
}

.settings-nav {
    background: linear-gradient(135deg, rgba(233, 30, 140, 0.08) 0%, rgba(233, 30, 140, 0.03) 100%);
    border-bottom: 2px solid #e0e0e0;
    padding: 0 20px;
}

.settings-nav .nav-link {
    color: #666;
    border: none;
    padding: 18px 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.settings-nav .nav-link i {
    font-size: 18px;
    color: var(--primary);
}

.settings-nav .nav-link:hover {
    color: var(--primary);
    background-color: rgba(233, 30, 140, 0.05);
}

.settings-nav .nav-link.active {
    color: var(--primary);
    background-color: rgba(233, 30, 140, 0.1);
    border-bottom: 3px solid var(--primary);
    margin-bottom: -2px;
}

.settings-content {
    padding: 40px;
}

.settings-group {
    margin-bottom: 40px;
}

.settings-group:last-child {
    margin-bottom: 0;
}

.settings-group h5 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
}

.form-select {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(233, 30, 140, 0.1);
}

/* Theme Selector */
.theme-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.theme-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-option:hover {
    border-color: var(--primary);
}

.theme-option.active {
    border-color: var(--primary);
    background-color: rgba(233, 30, 140, 0.05);
}

.theme-preview {
    width: 60px;
    height: 60px;
    border-radius: 6px;
}

.light-preview {
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
}

.dark-preview {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

.auto-preview {
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 50%, #1a1a1a 50%, #1a1a1a 100%);
}

/* Color Grid */
.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
}

.color-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-grid-item input {
    display: none;
}

.color-grid-item span {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.color-grid-item input:checked ~ span {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.color-grid-item small {
    font-weight: 600;
    color: #333;
}

/* Font Size Control */
.font-size-control {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.font-size-control small {
    font-size: 12px;
    color: #999;
    font-weight: 600;
}

.font-size-control strong {
    font-size: 18px;
    color: var(--primary);
    font-weight: 700;
}

.font-size-control .form-range {
    flex: 1;
    height: 6px;
}

/* Notification Items */
.notification-item,
.security-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.notification-item:hover,
.security-item:hover {
    background-color: rgba(233, 30, 140, 0.05);
}

.notification-item h6,
.security-item h6 {
    color: #333;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.notification-item p,
.security-item p {
    color: #999;
    margin: 0;
    font-size: 13px;
}

/* Settings Footer */
.settings-footer {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 30px;
    background: linear-gradient(135deg, rgba(233, 30, 140, 0.05) 0%, rgba(233, 30, 140, 0.02) 100%);
    border-radius: 12px;
}

.settings-footer .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(233, 30, 140, 0.3);
}

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

.settings-footer .btn {
    min-width: 200px;
    border-radius: 8px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .settings-header h2 {
        font-size: 24px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 15px;
    }

    .settings-nav {
        overflow-x: auto;
    }

    .settings-nav .nav-link {
        padding: 12px 15px;
        font-size: 13px;
    }

    .settings-content {
        padding: 20px;
    }

    .notification-item,
    .security-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .theme-selector {
        grid-template-columns: 1fr;
    }

    .color-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .settings-footer {
        flex-direction: column;
    }

    .settings-footer .btn {
        width: 100%;
    }
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .panel {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        padding: 20px;
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        height: 100vh;
        z-index: 100;
    }

    .sidebar.active {
        display: block;
    }

    .btn-menu {
        display: block;
    }

    .content {
        width: 100%;
    }

    .main-content {
        padding: 20px;
    }
}