/* =====================================================
   POLÍTICA DE COOKIES STYLES
   Estilos para la página de política de cookies
===================================================== */

/* Hero Section */
.cookies-hero-section {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.cookies-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="cookies-pattern" patternUnits="userSpaceOnUse" width="100" height="20"><circle cx="20" cy="10" r="3" fill="white" opacity="0.1"/><circle cx="22" cy="12" r="1" fill="white" opacity="0.2"/><circle cx="18" cy="8" r="0.5" fill="white" opacity="0.15"/><circle cx="60" cy="5" r="2" fill="white" opacity="0.1"/><circle cx="61" cy="7" r="0.8" fill="white" opacity="0.2"/><circle cx="80" cy="15" r="2.5" fill="white" opacity="0.1"/><circle cx="81" cy="13" r="0.7" fill="white" opacity="0.15"/></pattern></defs><rect width="100" height="20" fill="url(%23cookies-pattern)"/></svg>');
    animation: cookiesPatternMove 25s linear infinite;
}

@keyframes cookiesPatternMove {
    from { transform: translateX(-100px); }
    to { transform: translateX(0); }
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    position: relative;
    z-index: 2;
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    font-weight: 700;
}

.text-highlight {
    background: linear-gradient(45deg, #fbbf24, #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.hero-subtitle {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    position: relative;
    z-index: 2;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

/* Estado de cookies */
.cookies-status-container {
    position: relative;
    z-index: 2;
}

.cookies-status-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

.status-title {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.status-indicator.active {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 2px solid #22c55e;
}

.status-indicator.inactive {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 2px solid #ef4444;
}

.status-indicator.pending {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 2px solid #f59e0b;
}

.status-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Navegación rápida */
.quick-nav-section {
    border-bottom: 1px solid #e5e7eb;
}

.quick-navigation .nav-title {
    color: #374151;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.nav-link-item {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #f8fafc;
    color: #64748b;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.nav-link-item:hover,
.nav-link-item.active {
    background: #f59e0b;
    color: white;
    border-color: #f59e0b;
    transform: translateY(-1px);
}

/* Contenido principal */
.cookies-content {
    padding: 2rem 0;
}

.content-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f1f5f9;
}

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

.section-header {
    margin-bottom: 1.5rem;
}

.section-title {
    color: #1f2937;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
}

.section-content {
    color: #4b5563;
    line-height: 1.7;
    font-size: 1rem;
}

.section-content h4 {
    color: #f59e0b;
    font-weight: 600;
    margin: 2rem 0 1rem;
    font-size: 1.25rem;
}

.section-content h5 {
    color: #374151;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    font-size: 1.1rem;
}

.section-content h6 {
    color: #4b5563;
    font-weight: 600;
    margin: 1rem 0 0.5rem;
    font-size: 1rem;
}

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

.section-content .lead {
    font-size: 1.15rem;
    color: #374151;
    font-weight: 400;
}

/* Caja de definición */
.definition-box {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 12px;
    border-left: 4px solid #f59e0b;
    margin: 1.5rem 0;
}

.definition-icon {
    width: 50px;
    height: 50px;
    background: #f59e0b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.definition-content h5 {
    color: #92400e;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.definition-content p {
    color: #78350f;
    margin: 0;
}

/* Grid de propósitos */
.purposes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.purpose-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.purpose-card:hover {
    border-color: #f59e0b;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.15);
    transform: translateY(-3px);
}

.purpose-card i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.purpose-card h6 {
    color: #374151;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.purpose-card p {
    color: #6b7280;
    font-size: 0.85rem;
    margin: 0;
}

/* Callout informativo */
.info-callout {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    border-left: 4px solid #3b82f6;
    margin: 1.5rem 0;
}

.info-callout i {
    color: #3b82f6;
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.info-callout p {
    color: #1e40af;
    margin: 0;
}

/* Tipos de cookies */
.cookie-types {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.cookie-type-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.cookie-type-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.cookie-type-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.cookie-type-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-right: 1rem;
}

.cookie-type-card.essential .cookie-type-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.cookie-type-card.analytics .cookie-type-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.cookie-type-card.marketing .cookie-type-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.cookie-type-card.preferences .cookie-type-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.cookie-type-info h5 {
    color: #374151;
    margin-bottom: 0.5rem;
}

.cookie-status {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.always-active {
    background: #dcfce7;
    color: #166534;
}

.status-badge.optional {
    background: #fef3c7;
    color: #92400e;
}

.cookie-toggle {
    display: flex;
    align-items: center;
}

.cookie-switch {
    position: relative;
    width: 50px;
    height: 24px;
    appearance: none;
    background: #d1d5db;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
    outline: none;
}

.cookie-switch:checked {
    background: #f59e0b;
}

.cookie-switch::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cookie-switch:checked::before {
    transform: translateX(26px);
}

.cookie-switch + label {
    margin-left: 0.5rem;
    font-size: 0.85rem;
    color: #6b7280;
    cursor: pointer;
}

.cookie-type-body {
    padding: 1.5rem;
}

.cookie-type-body p {
    color: #4b5563;
    margin-bottom: 1rem;
}

.cookie-type-body h6 {
    color: #374151;
    font-weight: 600;
    margin: 1rem 0 0.5rem;
}

.cookie-type-body ul {
    color: #6b7280;
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.cookie-type-body li {
    margin-bottom: 0.25rem;
}

.cookie-examples {
    background: #f1f5f9;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #475569;
    margin-top: 1rem;
}

.cookie-examples code {
    background: #e2e8f0;
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    font-size: 0.8rem;
    color: #1e293b;
}

/* Escenarios de uso */
.usage-scenarios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.usage-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.usage-card:hover {
    border-color: #f59e0b;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.15);
    transform: translateY(-3px);
}

.usage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.usage-content h5 {
    color: #374151;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.usage-content p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.usage-details {
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #475569;
}

/* Timeline de retención */
.retention-info {
    margin: 2rem 0;
}

.retention-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid transparent;
}

.timeline-item:nth-child(1) { border-left-color: #ef4444; }
.timeline-item:nth-child(2) { border-left-color: #f59e0b; }
.timeline-item:nth-child(3) { border-left-color: #10b981; }

.timeline-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}

.timeline-marker.session { background: #ef4444; }
.timeline-marker.temporary { background: #f59e0b; }
.timeline-marker.persistent { background: #10b981; }

.timeline-content strong {
    color: #374151;
    display: block;
    margin-bottom: 0.25rem;
}

.timeline-content p {
    color: #6b7280;
    margin: 0;
    font-size: 0.9rem;
}

/* Opciones de gestión */
.management-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.management-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.management-card.primary {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
}

.management-card.secondary {
    border-color: #3b82f6;
}

.management-card.tertiary {
    border-color: #ef4444;
}

.management-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.management-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.management-header i {
    font-size: 2rem;
}

.management-card.primary .management-header i { color: #d97706; }
.management-card.secondary .management-header i { color: #3b82f6; }
.management-card.tertiary .management-header i { color: #ef4444; }

.management-header h5 {
    color: #374151;
    margin: 0;
    font-weight: 600;
}

.management-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.management-actions {
    display: flex;
    gap: 0.5rem;
}

/* Controles rápidos */
.quick-controls {
    margin: 2rem 0;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.quick-controls h4 {
    color: #374151;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.control-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #374151;
}

.control-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.control-btn.accept-all:hover {
    border-color: #10b981;
    background: #ecfdf5;
    color: #059669;
}

.control-btn.reject-optional:hover {
    border-color: #f59e0b;
    background: #fef3c7;
    color: #d97706;
}

.control-btn.customize:hover {
    border-color: #3b82f6;
    background: #eff6ff;
    color: #2563eb;
}

.control-btn i {
    font-size: 2rem;
}

.control-btn span {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Base legal */
.legal-basis {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.legal-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: #f9fafb;
    border-radius: 12px;
    border-left: 4px solid transparent;
}

.legal-item:nth-child(1) { border-left-color: #10b981; }
.legal-item:nth-child(2) { border-left-color: #f59e0b; }

.legal-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
}

.legal-icon.essential {
    background: #10b981;
}

.legal-icon.consent {
    background: #f59e0b;
}

.legal-content h5 {
    color: #374151;
    margin-bottom: 0.5rem;
}

.legal-content p {
    color: #6b7280;
    margin: 0;
}

/* Lista de cumplimiento */
.compliance-info {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
}

.compliance-info h4 {
    color: #166534;
    margin-bottom: 1rem;
}

.compliance-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.compliance-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: #15803d;
    font-weight: 500;
}

/* Servicios de terceros */
.third-party-services {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.service-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #f59e0b;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.15);
}

.service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.service-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 1rem;
}

.service-info h5 {
    color: #374151;
    margin-bottom: 0.25rem;
}

.service-type {
    background: #f59e0b;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.service-body {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.service-body p {
    color: #4b5563;
    margin-bottom: 1rem;
}

.service-details {
    background: #f1f5f9;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #475569;
}

.service-details a {
    color: #f59e0b;
    text-decoration: none;
}

.service-details a:hover {
    text-decoration: underline;
}

.service-controls {
    padding: 1rem 1.5rem;
    background: #f8fafc;
}

.third-party-note {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 10px;
    border-left: 4px solid #f59e0b;
    margin-top: 1.5rem;
}

.third-party-note i {
    color: #f59e0b;
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.third-party-note p {
    color: #92400e;
    margin: 0;
}

/* Instrucciones de navegadores */
.browser-instructions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.browser-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.browser-card:hover {
    border-color: #f59e0b;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.15);
    transform: translateY(-3px);
}

.browser-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.browser-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.browser-header h5 {
    color: #374151;
    margin: 0;
    font-weight: 600;
}

.browser-steps {
    padding: 1.5rem;
}

.browser-steps ol {
    color: #4b5563;
    padding-left: 1.25rem;
    margin: 0;
}

.browser-steps li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.browser-steps strong {
    color: #374151;
}

.browser-card .btn {
    margin: 0 1.5rem 1.5rem;
}

/* Instrucciones móviles */
.mobile-browsers {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f1f5f9;
    border-radius: 12px;
}

.mobile-browsers h4 {
    color: #374151;
    margin-bottom: 1rem;
}

.mobile-instructions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-item {
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
    color: #4b5563;
    font-size: 0.9rem;
}

.mobile-item strong {
    color: #374151;
}

/* Sidebar */
.cookies-sidebar {
    position: sticky;
    top: 2rem;
}

.sidebar-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.sidebar-card.primary-card {
    border: 2px solid #f59e0b;
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
}

.sidebar-card .card-title {
    color: #374151;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-card .card-text {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Toggle switches del sidebar */
.cookie-quick-toggles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.toggle-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.toggle-item span {
    color: #374151;
    font-weight: 500;
    font-size: 0.9rem;
}

.toggle-switch {
    position: relative;
}

.toggle-switch input[type="checkbox"] {
    position: relative;
    width: 40px;
    height: 20px;
    appearance: none;
    background: #d1d5db;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
    outline: none;
}

.toggle-switch input[type="checkbox"]:checked {
    background: #f59e0b;
}

.toggle-switch input[type="checkbox"]::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-switch input[type="checkbox"]:checked::before {
    transform: translateX(20px);
}

.toggle-switch label {
    margin-left: 0.5rem;
    font-size: 0.85rem;
    color: #6b7280;
    cursor: pointer;
}

/* Tips informativos */
.info-tips {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tip-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.75rem;
    background: #f0f9ff;
    border-radius: 8px;
    border-left: 3px solid #0ea5e9;
}

.tip-item i {
    color: #0ea5e9;
    font-size: 1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.tip-item p {
    color: #0c4a6e;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

/* Acciones rápidas del sidebar */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Enlaces relacionados */
.related-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.related-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    text-decoration: none;
    color: #4b5563;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.related-link:hover {
    background: #f59e0b;
    color: white;
    border-color: #f59e0b;
    transform: translateX(5px);
}

.related-link i {
    color: inherit;
    font-size: 0.9rem;
}

/* CTA Final */
.cookies-cta-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 25px;
    margin: 3rem 0;
}

.cta-content h3 {
    color: #374151;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content .lead {
    color: #4b5563;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Botones */
.btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.btn-outline-primary {
    border: 2px solid #f59e0b;
    color: #f59e0b;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-color: #f59e0b;
    color: white;
    transform: translateY(-2px);
}

.btn-outline-secondary {
    border: 2px solid #6b7280;
    color: #6b7280;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background: #6b7280;
    border-color: #6b7280;
    color: white;
    transform: translateY(-2px);
}

.btn-outline-success {
    border: 2px solid #10b981;
    color: #10b981;
}

.btn-outline-success:hover {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.btn-outline-warning {
    border: 2px solid #f59e0b;
    color: #f59e0b;
}

.btn-outline-warning:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    color: white;
}

.btn-outline-danger {
    border: 2px solid #ef4444;
    color: #ef4444;
}

.btn-outline-danger:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

.btn-outline-info {
    border: 2px solid #0ea5e9;
    color: #0ea5e9;
}

.btn-outline-info:hover {
    background: #0ea5e9;
    border-color: #0ea5e9;
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .cookies-hero-section {
        padding: 5rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .section-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .purposes-grid,
    .usage-scenarios,
    .management-options,
    .browser-instructions {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .controls-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cookie-types {
        gap: 1.5rem;
    }
    
    .cookies-sidebar {
        position: static;
        margin-top: 2rem;
    }
    
    .sidebar-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 767.98px) {
    .cookies-hero-section {
        padding: 4rem 0 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .nav-links {
        justify-content: center;
    }
    
    .nav-link-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .cookie-type-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .cookie-status {
        width: 100%;
        justify-content: space-between;
    }
    
    .controls-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .browser-instructions {
        gap: 1rem;
    }
    
    .management-options {
        gap: 1rem;
    }
    
    .management-card,
    .usage-card,
    .purpose-card,
    .sidebar-card {
        padding: 1rem;
    }
    
    .definition-box,
    .info-callout,
    .third-party-note {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .legal-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .service-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .cookies-status-card {
        padding: 1.5rem;
    }
    
    .status-item {
        gap: 0.25rem;
    }
    
    .status-indicator {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .status-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .section-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .nav-link-item {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
    }
    
    .purpose-card i {
        font-size: 1.5rem;
    }
    
    .usage-icon,
    .definition-icon,
    .legal-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .cookie-type-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .browser-logo,
    .service-logo {
        width: 30px;
        height: 30px;
    }
}