/**
 * Sistema de Guías de Configuración - Estilos principales
 */

/* Variables y reset */
:root {
    --primary: #1a2c5b;
    --secondary: #3498db;
    --accent: #2ecc71;
    --light: #f8f9fa;
    --dark: #343a40;
    --danger: #e74c3c;
    --warning: #f39c12;
    --info: #3498db;
    --text: #333;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f5f7fa;
    color: var(--text);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--secondary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Componentes comunes */
.btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #2980b9;
    color: white;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    margin-left: 0.5rem;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-sm {
    padding: 0.25rem 0.8rem;
    font-size: 0.9rem;
}

/* Header y navegación */
header.main-navigation {
    background-color: var(--primary);
    border-bottom: 3px solid #2980b9;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--box-shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 40px;
    width: auto;
}

.main-menu {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-grow: 1;
    justify-content: flex-start;
}

.main-menu li {
    position: relative;
}

.main-menu a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.main-menu a i {
    margin-right: 8px;
}

.main-menu a:hover, 
.main-menu a.active {
    background-color: #2980b9;
    color: white;
}

/* Submenús */
.main-menu .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 0 0 6px 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 101;
}

.main-menu li:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-menu .submenu li {
    display: block;
    width: 100%;
}

.main-menu .submenu a {
    padding: 12px 15px;
    color: #333;
    display: block;
    border-bottom: 1px solid #f1f1f1;
}

.main-menu .submenu a:hover {
    background-color: #f8f9fa;
    color: #2980b9;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 15px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    border-radius: 0 0 50% 50% / 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Requisitos previos */
.prerequisites-section {
    padding: 2rem 0;
}

.prerequisites-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.prereq-item {
    display: flex;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    align-items: flex-start;
    gap: 1.5rem;
}

.prereq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #f0f4f8;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--primary);
}

.prereq-content {
    flex: 1;
}

.prereq-content h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.prereq-content p {
    margin-bottom: 1rem;
}

.prereq-content ul {
    list-style-position: inside;
    margin-bottom: 1rem;
}

.prereq-content .btn {
    display: inline-block;
    margin-top: 0.5rem;
}

/* Pasos de configuración */
.steps-section {
    padding: 2rem 0 4rem;
}

.step-item {
    display: flex;
    margin-bottom: 2.5rem;
    gap: 2rem;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.step-image {
    flex: 0 0 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: #f8f9fa;
}

.step-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    border: 1px solid #eee;
}

.step-content {
    flex: 1;
    padding: 2rem;
}

.step-content h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: inline-block;
    background-color: #f0f4f8;
    padding: 0.3rem 1rem;
    border-radius: 20px;
}

.step-content p {
    color: var(--text);
    margin-bottom: 1rem;
}

.step-content ul, 
.step-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.step-content ul li, 
.step-content ol li {
    margin-bottom: 0.5rem;
}

/* Checklist de pasos */
.step-checklist {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.step-checklist li {
    display: flex;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.check-label {
    font-weight: 600;
    color: var(--primary);
    flex: 0 0 200px;
    padding-right: 1rem;
}

.check-value {
    flex: 1;
}

/* Cajas de información en pasos */
.step-tip, 
.step-note, 
.step-warning, 
.step-success,
.step-info {
    display: flex;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
    gap: 1rem;
    align-items: flex-start;
}

.step-tip {
    background-color: #e7f5fe;
}

.step-tip i {
    color: #0c63e4;
}

.step-note {
    background-color: #f8f9fa;
}

.step-note i {
    color: #6c757d;
}

.step-warning {
    background-color: #fff3cd;
}

.step-warning i {
    color: #856404;
}

.step-success {
    background-color: #d4edda;
}

.step-success i {
    color: #155724;
}

.step-info {
    background-color: #e7f5fe;
    flex-direction: column;
}

.step-info h4 {
    margin-top: 0;
    color: #0c63e4;
    margin-bottom: 0.5rem;
}

/* Config manual details */
.config-manual-details {
    background-color: #f8f9fa;
    border-left: 4px solid var(--secondary);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.config-manual-details h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.config-manual-details ul {
    margin-bottom: 0;
}

/* Pestañas de configuración */
.config-info-section {
    margin-bottom: 3rem;
}

.config-tabs {
    /*max-width: 900px;*/
	max-width:1080px;
    margin: 0 auto;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.config-tabs-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #f0f4f8;
}

.config-tabs-nav li {
    flex: 1;
}

.config-tabs-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.config-tabs-nav li.active a {
    background-color: white;
    border-bottom-color: var(--secondary);
    color: var(--secondary);
}

.config-tabs-nav a img {
    width: 50px;
    height: auto;
    margin-bottom: 0.5rem;
}

.config-tabs-content {
    padding: 2rem;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.configs-grid {
    display: grid;
    grid-template-columns: 150px 1fr 1fr;
    gap: 1.5rem;
    align-items: center;
}

.config-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.config-icon img {
    width: 100px;
    margin-bottom: 0.5rem;
}

.security-warning {
    background-color: #fff3cd;
    color: #856404;
    padding: 5px 10px;
    border-radius: 4px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.config-details h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.config-desc {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.config-details ul {
    list-style: none;
    padding: 0;
}

.config-details li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #eee;
}

.config-details li:last-child {
    border-bottom: none;
}

.config-note {
    background-color: #f8f9fa;
    border-left: 4px solid #ffc107;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Tablas de configuración */
.config-table {
    margin-bottom: 1.5rem;
}

.config-table h4 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.config-table table {
    width: 100%;
    border-collapse: collapse;
}

.config-table table td {
    padding: 0.5rem;
    border: 1px solid #dee2e6;
}

.config-table table tr:first-child {
    background-color: #f8f9fa;
}

/* Sección de solución de problemas */
.troubleshooting {
    margin: 3rem 0;
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: var(--border-radius);
}

.problem-card {
    background-color: white;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    overflow: hidden;
}

.problem-title {
    background-color: #f0f4f8;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.problem-title h4 {
    margin: 0;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.problem-title h4 i {
    color: var(--warning);
}

.problem-solution {
    padding: 1rem;
}

.problem-solution p,
.problem-solution ul {
    margin-bottom: 1rem;
}

.problem-solution p:last-child,
.problem-solution ul:last-child {
    margin-bottom: 0;
}

/* Consejos adicionales */
.additional-tips {
    margin: 3rem 0;
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: var(--border-radius);
}

.additional-tips h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary);
}

.tip-card {
    display: flex;
    background-color: white;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    gap: 1.5rem;
}

.tip-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(to right, #3498db, #1a2c5b);
    color: white;
    border-radius: 50%;
    flex-shrink: 0;
}

.tip-icon i {
    font-size: 1.2rem;
}

.tip-content h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.tip-content p {
    margin-bottom: 0.5rem;
}

.tip-content ol,
.tip-content ul {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Recursos adicionales */
.additional-resources {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin-top: 3rem;
}

.additional-resources h3 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.download-pdf {
    text-align: center;
    margin-bottom: 2rem;
}

.download-pdf h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--dark);
}

.video-tutorial {
    text-align: center;
    margin-bottom: 2rem;
}

.video-tutorial h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--dark);
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Soporte adicional */
.need-help {
    margin-top: 2rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    text-align: center;
}

.need-help h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.help-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.help-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 1.5rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    min-width: 160px;
}

.help-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: var(--secondary);
}

.help-option i {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    color: var(--secondary);
}

/* Guías relacionadas */
.related-guides {
    margin: 2rem 0;
    text-align: center;
}

.related-guides h4 {
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.guides-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.guide-link {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 0.8rem 1.2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--primary);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.guide-link:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.guide-link i {
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

/* Sección de requisitos previos */
.prerequisites-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

/* Personalización de cuenta */
.personalization-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    max-width: 800px;
    margin: 30px auto;
    transition: all 0.3s ease;
}

.personalization-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card-title {
    color: #1a2c5b;
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
}

.card-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #3498db, #1a2c5b);
    border-radius: 3px;
}

.custom-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-input-group {
    margin-bottom: 5px;
}

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

.input-with-button {
    display: flex;
    gap: 10px;
}

.input-with-button input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border 0.3s;
}

.input-with-button input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.btn-primary {
    /*background: linear-gradient(to right, #1a2c5b, #3498db);*/
	background-color: var(--secondary);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
	margin:10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    /*display: flex;*/
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    /*background: linear-gradient(to right, #16233f, #2980b9);*/
	background:#2980b9;
    transform: translateY(-1px);
}

.form-help-text {
    font-size: 0.8rem;
    color: #777;
    margin-top: 6px;
    margin-bottom: 0;
}

/* Detected values */
.detected-values {
    background-color: #f5f9ff;
    border-radius: 8px;
    padding: 15px;
    border-left: 4px solid #3498db;
    margin: 15px 0;
    display: none;
}

.detected-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.detected-header h4 {
    margin: 0;
    color: #1a2c5b;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detected-header h4 i {
    color: #2ecc71;
}

.btn-edit, .btn-hide {
    background: none;
    border: none;
    color: #3498db;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

.btn-edit:hover, .btn-hide:hover {
    color: #1a2c5b;
}

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

.detected-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detected-item .label {
    font-weight: 500;
    color: #777;
    font-size: 0.85rem;
}

.detected-item .value {
    font-weight: 600;
    color: #333;
    background-color: white;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #eaeaea;
	font-size:12px;
}

/* Advanced options */
.advanced-options {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    border-left: 4px solid #2ecc71;
    margin: 15px 0;
    display: none;
}

.advanced-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.advanced-header h4 {
    margin: 0;
    color: #1a2c5b;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.advanced-fields {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 0;
}

.form-group label {
    font-weight: 500;
    color: #444;
    font-size: 0.9rem;
}

.form-group input {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Sección de manejo */
.management-section {
    padding: 3rem 0;
    background-color: #f0f4f8;
}

.management-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.management-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
}

.management-icon {
    background-color: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.management-content h4 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.management-warning {
    background-color: #fff3cd;
    border-left: 4px solid var(--warning);
    padding: 0.8rem;
    margin-top: 1rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.management-warning i {
    color: var(--warning);
}

/* Sección FAQ */
.faq-section {
    padding: 3rem 0;
}

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

.faq-item {
    background-color: white;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-question {
    padding: 1.2rem;
    background-color: #f0f4f8;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.faq-question h4 {
    margin: 0;
    color: var(--primary);
    font-size: 1.1rem;
}

.faq-question i {
    color: var(--secondary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.faq-answer {
    padding: 1.2rem;
    border-top: 1px solid #eee;
}

.faq-answer p,
.faq-answer ol,
.faq-answer ul {
    margin-bottom: 1rem;
}

.faq-answer p:last-child,
.faq-answer ol:last-child,
.faq-answer ul:last-child {
    margin-bottom: 0;
}

/* Resources section */
.resources-section {
    padding: 3rem 0;
    background-color: #f0f4f8;
}

.resources-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Toast notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    max-width: 300px;
    animation: slideInRight 0.3s;
}

.toast-success {
    border-left: 4px solid var(--accent);
}

.toast-error {
    border-left: 4px solid var(--danger);
}

.toast-icon {
    margin-right: 10px;
    color: var(--accent);
    font-size: 1.2rem;
}

.toast-error .toast-icon {
    color: var(--danger);
}

.toast-message {
    flex: 1;
}

.toast-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: var(--primary);
    color: white;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

.modal-body {
    padding: 0;
    height: 80vh;
}

.modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Sección footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-links h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #ccc;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

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

/* Guía Header */
.guia-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary) 100%);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.guia-header .row {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.guia-icon {
    flex: 0 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.guia-icon img {
    max-width: 70px;
}

.guia-title {
    flex: 1;
}

.guia-title h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.guia-title p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.guia-title a {
    display: inline-block;
}

/* Sección de dispositivos */
.guides-section {
    padding: 3rem 0;
}

.devices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /*gap: 2rem;*/
	gap:1rem;
    margin-top: 2rem;
}

.device-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
}

.device-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.device-icon {
    padding: 2rem;
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
}

.device-icon img {
    max-width: 80px;
    height: auto;
}

.device-info {
    padding: 1.5rem;
}

.device-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.device-info p {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.app-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.app-button {
    background-color: var(--secondary);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.app-button:hover {
    background-color: #2980b9;
    color: white;
}

/* Sección de panels */
.panels-section {
    padding: 3rem 0;
    background-color: #f0f4f8;
}

.panels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.panel-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
}

.panel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.panel-logo {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.panel-logo img {
    max-width: 180px;
    max-height: 80px;
}

.panel-info {
    padding: 1.5rem;
    text-align: center;
}

.panel-info h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.panel-info p {
    color: #777;
    margin-bottom: 1.5rem;
}

.panel-button {
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.panel-button:hover {
    background-color: #16233f;
    color: white;
}

/* Soporte sección */
.support-section {
    padding: 3rem 0;
    text-align: center;
}

.support-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    max-width: 700px;
    margin: 0 auto;
}

.support-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.support-card p {
    color: #777;
    margin-bottom: 2rem;
}

.support-button {
    background-color: var(--accent);
    color: white;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.support-button:hover {
    background-color: #27ae60;
    color: white;
}

/* Sección de mantenimiento */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #777;
    max-width: 800px;
    margin: 0 auto;
}


/* Mejoras para la sección de solución de problemas comunes */
.troubleshooting {
    padding: 2.5rem;
    border-radius: 12px;
    background-color: #f8f9fa;
    margin: 3rem 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.troubleshooting h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #e9ecef;
    text-align: center;
}

/* Estilizar los problemas específicos */
.problem-card {
    background-color: white;
    border-radius: 10px;
    margin-bottom: 1.8rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.problem-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.problem-title {
    background-color: #f0f4f8;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #e0e4e9;
}

.problem-title h4 {
    margin: 0;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
}

.problem-title h4 i {
    color: var(--warning);
    font-size: 1.2rem;
}

.problem-solution {
    padding: 1.5rem;
}

.problem-solution p {
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

/* Mejorar los bullets/listas en esta sección */
.problem-solution ul,
.problem-solution ol {
    margin: 1.2rem 0;
    padding-left: 1.2rem;
}

.problem-solution ul li,
.problem-solution ol li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 0.5rem;
    line-height: 1.5;
}

.problem-solution ul {
    list-style-type: none;
    padding-left: 0.5rem;
}

.problem-solution ul li::before {
    content: '\f111';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: -1.2rem;
    color: var(--secondary);
    font-size: 0.6rem;
    top: 0.5rem;
}

.problem-solution ol {
    counter-reset: li-counter;
    list-style-type: none;
    padding-left: 0.5rem;
}

.problem-solution ol li {
    counter-increment: li-counter;
    padding-left: 0.5rem;
}

.problem-solution ol li::before {
    content: counter(li-counter) ".";
    position: absolute;
    left: -1.5rem;
    color: var(--primary);
    font-weight: 600;
}


.troubleshooting .warning-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: var(--warning);
    color: white;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.troubleshooting .solution-label {
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--primary);
    background-color: #e7f5fe;
    padding: 0.4rem 1rem;
    border-radius: 20px;
}


.management-warning,
.faq-answer .management-warning,
div[class*="advertencia"] {
    display: block;
    position: relative;
    /*padding: 1.2rem 1.5rem 1.2rem 1.5rem;*/
    /*margin-top: 1rem;*/
    background-color: #fff9e6;
    /*border: 1px solid #ffe0b2;
    border-left: 4px solid #f39c12;
    border-radius: 4px;*/
}


.management-warning strong,
div[class*="advertencia"] strong,
.advertencia-titulo {
    display: inline-block;
    font-weight: 600;
    color: #e67e22;
    margin-left: 5px;
}


.advertencia-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}


.management-card .advertencia-container {
    background-color: #fff9e6;
    border-radius: 8px;
    border: 1px solid #ffe0b2;
    border-left: 4px solid #f39c12;
    padding: 1.2rem;
    margin-top: 1rem;
}


.advertencia-icon,
.management-warning i {
    color: #f39c12;
    margin-right: 0.5rem;
}

/*** FAQ ***/

.faq-answer ol {
    counter-reset: faq-counter;
    list-style-type: none;
    padding-left: 1.2rem;
    margin: 1rem 0;
}

.faq-answer ol li {
    counter-increment: faq-counter;
    position: relative;
    padding-left: 0.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.faq-answer ol li::before {
    content: counter(faq-counter) ".";
    position: absolute;
    left: -1.5rem;
    color: var(--primary);
    font-weight: 600;
}

.faq-answer ul {
    list-style-type: none;
    padding-left: 1.2rem;
    margin: 1rem 0;
}

.faq-answer ul li {
    position: relative;
    padding-left: 0.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.faq-answer ul li::before {
    content: '\f111';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: -1.2rem;
    color: var(--primary);
    font-size: 0.45rem;
    top: 0.6rem;
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background-color: #f0f4f8;
    border-radius: 8px 8px 0 0;
}

.faq-question i {
    margin-right: 1rem;
    color: var(--secondary);
    font-size: 1.2rem;
}

.faq-answer {
    padding: 1.5rem;
    background-color: white;
    border-radius: 0 0 8px 8px;
    border: 1px solid #e9ecef;
    border-top: none;
}

.faq-answer p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Estilos para la sección de Guías Rápidas */
.quick-guides-section {
    padding: 2rem 0;
    background-color: #f8f9fa;
    margin: 2rem 0;
    border-radius: var(--border-radius);
}

.quick-guides-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    padding: 0;
}

.quick-guides-content {
    flex: 1;
    padding: 2rem;
}

.quick-guides-content h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quick-guides-content p {
    margin-bottom: 1.5rem;
    color: #666;
}

.quick-guides-image {
    flex: 0 0 35%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.quick-guides-image img {
    max-width: 100%;
    max-height: 200px;
}

.btn-quick-guides {
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
}

.btn-quick-guides:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(231, 76, 60, 0.4);
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .quick-guides-container {
        flex-direction: column;
    }
    
    .quick-guides-image {
        width: 100%;
        flex: 0 0 auto;
        padding: 2rem;
    }
    
    .quick-guides-content {
        text-align: center;
    }
}