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

:root {
    --primary-color: #667eea;
    --primary-dark: #5568d3;
    --secondary-color: #2ecc71;
    --secondary-dark: #27ae60;
    --danger-color: #e74c3c;
    --danger-dark: #c0392b;
    --warning-color: #f39c12;
    --warning-dark: #e67e22;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --border-color: #bdc3c7;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

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

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    animation: fadeIn 0.5s ease-in-out;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: scaleIn 0.6s ease-in-out;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    animation: slideIn 0.8s ease-in-out;
}

.date-display {
    font-size: 1.1em;
    opacity: 0.9;
    animation: fadeIn 1s ease-in-out 0.3s both;
}

/* Connection Status */
.connection-status {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.connection-status:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.connection-status.online {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
}

.connection-status.offline {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    animation: pulse 2s infinite;
}

.connection-status.syncing {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

/* Tabs */
.tabs {
    display: flex;
    background: var(--dark-color);
    overflow-x: auto;
    position: relative;
}

.tabs::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.tab-button {
    flex: 1;
    padding: 15px 20px;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1em;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    transition: var(--transition);
}

.tab-button:hover::before {
    left: 100%;
}

.tab-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.tab-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.tab-button.active {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.98));
    color: var(--dark-color) !important;
    border-bottom-color: var(--secondary-color);
    font-weight: bold;
    transform: translateY(-2px);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}

.tab-content {
    display: none;
    padding: 30px;
    animation: fadeIn 0.3s;
}

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

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

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.section-header h2 {
    color: var(--dark-color);
    font-size: 1.8em;
}

.voice-settings {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-voice-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 15px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.toggle-voice-label:hover {
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.toggle-voice-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.toggle-voice-label span {
    font-size: 0.9em;
    color: var(--dark-color);
    font-weight: 500;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s;
    font-weight: 600;
}

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

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

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

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

/* Filters */
.filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.stat-card:hover::before {
    animation: pulse 2s infinite;
}

.stat-number {
    display: block;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.stat-label {
    font-size: 0.9em;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Items Container */
.items-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Tarea Card */
.tarea-card {
    background: white;
    border: 2px solid var(--light-color);
    border-radius: 15px;
    padding: 20px;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    animation: slideIn 0.5s ease-in-out;
}

.tarea-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transition: height 0.4s ease;
}

.tarea-card:hover::after {
    height: 100%;
}

.tarea-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px) translateX(3px);
    border-color: var(--primary-color);
}

.tarea-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 10px;
}

.tarea-titulo {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--dark-color);
    flex: 1;
}

.tarea-card.completada .tarea-titulo {
    text-decoration: line-through;
    opacity: 0.6;
}

.tarea-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-estado {
    background: var(--light-color);
    color: var(--dark-color);
}

.badge-estado.pendiente { background: #f39c12; color: white; }
.badge-estado.en-progreso { background: #3498db; color: white; }
.badge-estado.completada { background: #2ecc71; color: white; }

.badge-prioridad.alta { background: #e74c3c; color: white; }
.badge-prioridad.media { background: #f39c12; color: white; }
.badge-prioridad.baja { background: #95a5a6; color: white; }

.tarea-descripcion {
    color: #555;
    margin-bottom: 10px;
    line-height: 1.5;
}

.tarea-info {
    display: flex;
    gap: 15px;
    font-size: 0.9em;
    color: #777;
    margin-bottom: 10px;
}

.tarea-actions {
    display: flex;
    gap: 10px;
}

.btn-icon {
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9em;
}

.btn-pomodoro {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
}

.btn-pomodoro:hover {
    background: linear-gradient(135deg, #ee5a6f 0%, #ff6b6b 100%);
}

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

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

.btn-icon:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Acciones Masivas */
.tarea-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.tarea-checkbox {
    padding-top: 5px;
}

.tarea-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.tarea-content {
    flex: 1;
}

.acciones-masivas {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow);
}

.acciones-masivas-left {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-weight: 500;
}

.acciones-masivas-left input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.acciones-masivas-left label {
    cursor: pointer;
    -webkit-user-select: none; /* Safari 3+, iOS Safari 3+ */
    user-select: none;
}

.contador-seleccionadas {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
}

.acciones-masivas-right {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.accion-masiva-select {
    padding: 8px 12px;
    border: 2px solid white;
    border-radius: 6px;
    background: white;
    color: var(--dark-color);
    font-weight: 500;
    cursor: pointer;
    min-width: 150px;
}

.accion-masiva-select:focus {
    outline: none;
    border-color: var(--secondary-color);
}

/* Proyecto Card */
.proyecto-card {
    background: white;
    border-left: 5px solid var(--primary-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.proyecto-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 10px;
}

.proyecto-nombre-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.proyecto-nombre {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--dark-color);
}

.proyecto-toggle-icon {
    font-size: 0.6em;
    color: var(--primary-color);
    cursor: pointer;
    transition: transform 0.3s ease;
    display: inline-block;
    padding: 5px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.proyecto-toggle-icon:hover {
    background: var(--light-color);
    border-radius: 50%;
}

.proyecto-card.proyecto-expandido .proyecto-toggle-icon {
    transform: rotate(-180deg);
}

.proyecto-descripcion {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.proyecto-details {
    background: var(--light-color);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.proyecto-detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.proyecto-detail-item:last-child {
    margin-bottom: 0;
}

.proyecto-detail-item strong {
    min-width: 120px;
    color: var(--dark-color);
}

.proyecto-ruta, .proyecto-url {
    color: var(--primary-color);
    text-decoration: none;
    word-break: break-all;
}

.proyecto-url:hover {
    text-decoration: underline;
}

.proyecto-info-adicional {
    display: none;
    margin-bottom: 15px;
    animation: slideDown 0.3s ease;
}

.proyecto-card.proyecto-expandido .proyecto-info-adicional {
    display: block;
}

.proyecto-seccion {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 12px;
    border-left: 3px solid var(--primary-color);
}

.proyecto-seccion:last-child {
    margin-bottom: 0;
}

.proyecto-seccion h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.proyecto-code {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 12px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    line-height: 1.6;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.proyecto-notas {
    color: #555;
    line-height: 1.6;
    white-space: pre-wrap;
}

.proyecto-recursos-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recurso-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s;
}

.recurso-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.recurso-icon {
    font-size: 1.8em;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recurso-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.recurso-info strong {
    color: var(--dark-color);
    font-size: 0.95em;
}

.recurso-link {
    color: var(--primary-color);
    text-decoration: none;
    word-break: break-all;
    font-size: 0.9em;
}

.recurso-link:hover {
    text-decoration: underline;
}

.recurso-texto {
    color: #555;
    font-size: 0.9em;
    line-height: 1.5;
    white-space: pre-wrap;
}

.redes-sociales {
    border-left-color: #e91e63;
}

.redes-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}

.red-social {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-size: 0.85em;
    font-weight: 500;
    transition: all 0.3s;
}

.red-social:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.red-social.facebook {
    background: #1877f2;
}

.red-social.twitter {
    background: #1da1f2;
}

.red-social.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.red-social.linkedin {
    background: #0077b5;
}

.red-social.youtube {
    background: #ff0000;
}

.proyecto-actions {
    display: flex;
    gap: 10px;
}

/* Nota Card */
.nota-card {
    background: #fff9e6;
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border-left: 5px solid var(--warning-color);
}

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

.nota-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.nota-header:hover {
    opacity: 0.8;
}

.nota-titulo {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.nota-toggle-icon {
    font-size: 0.7em;
    color: var(--warning-color);
    transition: transform 0.3s ease;
    display: inline-block;
}

.nota-card.nota-expandida .nota-toggle-icon {
    transform: rotate(-180deg);
}

.nota-fecha {
    font-size: 0.85em;
    color: #777;
}

.nota-preview {
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
    cursor: pointer;
    display: block;
    white-space: pre-wrap;
}

.nota-preview:hover {
    color: #333;
}

.nota-contenido-completo {
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
    white-space: pre-wrap;
    display: none;
    animation: slideDown 0.3s ease;
}

.nota-card.nota-expandida .nota-preview {
    display: none;
}

.nota-card.nota-expandida .nota-contenido-completo {
    display: block;
}

.nota-etiquetas {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.etiqueta {
    background: var(--warning-color);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8em;
}

.nota-actions {
    display: flex;
    gap: 10px;
}

/* Search Box */
.search-box {
    margin-bottom: 20px;
}

.search-box input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid var(--light-color);
    border-radius: 25px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Tips Container */
.tips-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.tip-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.tip-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.3em;
}

.tip-card p {
    color: #555;
    line-height: 1.6;
}

/* Settings */
.settings-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.settings-section {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.settings-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.settings-section .form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-color);
    font-weight: 500;
}

.settings-section input[type="password"],
.settings-section input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s;
}

.settings-section input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 20000; /* Subir z-index para asegurar que esté encima de todo */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
    overflow-y: auto; /* Permitir scroll del modal completo */
    pointer-events: auto; /* Permitir interacción */
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 20px 30px 30px 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s;
    position: relative;
    pointer-events: auto;
    z-index: 20001;
    overflow: hidden; /* El modal-content no hace scroll, solo su contenido */
}

.modal-content h2 {
    flex-shrink: 0; /* El título no se comprime */
    margin-bottom: 15px;
}

.modal-content .close {
    flex-shrink: 0; /* El botón X no se comprime */
}

.modal-content form {
    overflow-y: auto; /* El formulario hace scroll */
    overflow-x: hidden;
    flex: 1; /* Ocupa todo el espacio disponible */
    padding-right: 10px; /* Espacio para el scrollbar */
    margin-right: -10px; /* Compensar el padding */
    scroll-behavior: smooth; /* Scroll suave */
    position: relative;
}

/* Indicador de scroll al inicio */
.modal-content form::before {
    content: '';
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 5;
}

.modal-content form.has-scroll::before {
    opacity: 1;
}

/* Indicador de scroll al final */
.modal-content form::after {
    content: '';
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.1), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 5;
}

.modal-content form.has-scroll-bottom::after {
    opacity: 1;
}

/* Asegurar que los form-actions queden visibles al final */
.modal-content .form-actions {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 15px 0 0 0;
    margin-top: 20px;
    border-top: 1px solid var(--light-color);
    z-index: 10;
}

/* Cuando un modal está abierto queremos bloquear el scroll del fondo */
body.modal-open {
    overflow: hidden;
    touch-action: none;
    height: 100%;
}

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

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: var(--danger-color);
}

.modal-content h2 {
    color: var(--dark-color);
    margin-bottom: 20px;
}

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

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

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

.form-group small {
    display: block;
    margin-top: 5px;
    color: #777;
    font-size: 0.85em;
    font-style: italic;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--light-color);
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s;
    pointer-events: auto;
    -webkit-user-select: text;
    user-select: text;
    cursor: text;
    touch-action: manipulation; /* Mejorar respuesta táctil */
    -webkit-tap-highlight-color: rgba(102, 126, 234, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
    touch-action: pan-y; /* Permitir scroll vertical en textarea */
}

.form-group select {
    cursor: pointer;
    touch-action: manipulation;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 25px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.empty-state-text {
    font-size: 1.2em;
}

/* ============== RECORDATORIOS ============== */
.notification-settings {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.notification-settings h3 {
    color: var(--dark-color);
    margin-bottom: 20px;
    font-size: 1.3em;
}

.notification-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.method-card {
    background: var(--light-color);
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s;
}

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

.method-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.method-icon {
    font-size: 2em;
}

.method-header h4 {
    color: var(--dark-color);
    margin: 0;
}

.config-input {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 0.95em;
}

.config-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-toggle {
    width: 100%;
    padding: 10px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95em;
    transition: all 0.3s;
}

.btn-toggle:hover {
    background: #2980b9;
}

.btn-toggle.active {
    background: var(--secondary-color);
}

.method-status {
    margin-top: 10px;
    font-size: 0.85em;
    color: #777;
    text-align: center;
}

.method-status.active {
    color: var(--secondary-color);
    font-weight: 600;
}

.recordatorios-proximos {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.recordatorios-proximos h3 {
    color: var(--dark-color);
    margin-bottom: 20px;
    font-size: 1.3em;
}

.recordatorio-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.recordatorio-card.recordatorio-snoozed {
    background: linear-gradient(135deg, #f39c12 0%, #f1c40f 100%);
}

.recordatorio-card.recordatorio-completed {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    opacity: 0.7;
}

.recordatorio-card.recordatorio-postponed {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.recordatorio-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.recordatorio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.recordatorio-titulo {
    font-size: 1.2em;
    font-weight: 600;
}

.recordatorio-tiempo {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9em;
}

.recordatorio-descripcion {
    margin-bottom: 15px;
    opacity: 0.9;
    line-height: 1.5;
}

.recordatorio-estado {
    background: rgba(255, 255, 255, 0.3);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85em;
    margin-bottom: 10px;
    display: inline-block;
    font-weight: 600;
}

.recordatorio-historial {
    font-size: 0.85em;
    opacity: 0.8;
    margin-bottom: 10px;
    font-style: italic;
}

.recordatorio-info {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 0.9em;
    margin-bottom: 15px;
    opacity: 0.9;
}

.recordatorio-metodos {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.metodo-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85em;
}

.recordatorio-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-recordatorio {
    padding: 8px 16px;
    border: 2px solid white;
    background: transparent;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s;
}

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

.btn-recordatorio.btn-snooze {
    background: rgba(243, 156, 18, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-recordatorio.btn-snooze:hover {
    background: #f39c12;
    color: white;
    border-color: #f39c12;
}

.btn-recordatorio.btn-dismiss {
    background: rgba(46, 204, 113, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-recordatorio.btn-dismiss:hover {
    background: #2ecc71;
    color: white;
    border-color: #2ecc71;
}

.btn-recordatorio.btn-delete {
    background: rgba(231, 76, 60, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-recordatorio.btn-delete:hover {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.btn-recordatorio.btn-success {
    background: rgba(46, 204, 113, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-recordatorio.btn-success:hover {
    background: #2ecc71;
    color: white;
    border-color: #2ecc71;
}

.badge-vencido {
    background: rgba(231, 76, 60, 0.9);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
}

.badge-completado {
    background: rgba(46, 204, 113, 0.9);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
}

.recordatorio-vencido {
    border: 2px solid rgba(231, 76, 60, 0.5);
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.3);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.recordatorio-vencido {
    opacity: 0.6;
    filter: grayscale(50%);
}

.badge-vencido {
    background: var(--danger-color);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85em;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        border-radius: 15px;
    }

    header h1 {
        font-size: 1.8em;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .tabs {
        flex-wrap: wrap;
    }

    .tab-button {
        font-size: 0.9em;
        padding: 12px 15px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .tips-container {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 2% auto;
        width: 95%;
        max-height: 95vh;
        padding: 15px 20px 20px 20px;
    }
    
    .modal-content form {
        padding-right: 5px;
        margin-right: -5px;
    }
}

/* ============== ASISTENTE IA ============== */
.ai-chat-container {
    display: flex;
    flex-direction: column;
    height: 600px;
    background: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
}

.ai-suggestions {
    background: white;
    padding: 20px;
    border-bottom: 2px solid var(--light-color);
}

.ai-suggestions h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.1em;
}

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

.suggestion-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s;
    text-align: left;
}

.suggestion-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 80%;
    padding: 15px 20px;
    border-radius: 15px;
    animation: messageSlide 0.3s ease-out;
    line-height: 1.6;
}

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

.message-user {
    align-self: flex-end;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom-right-radius: 5px;
}

.message-ai {
    align-self: flex-start;
    background: white;
    color: var(--dark-color);
    border-bottom-left-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message-ai strong {
    color: var(--primary-color);
}

.message-ai ul, .message-ai ol {
    margin: 10px 0;
    padding-left: 20px;
}

.message-ai li {
    margin: 5px 0;
}

.btn-speaker {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-speaker:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.4);
}

.btn-speaker:active {
    transform: scale(0.95);
}

.message-thinking {
    align-self: flex-start;
    background: white;
    color: #999;
    font-style: italic;
    border-bottom-left-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.typing-indicator {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

.chat-input-container {
    background: white;
    padding: 20px;
    border-top: 2px solid var(--light-color);
    display: flex;
    gap: 10px;
}

.chat-input-container textarea {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--light-color);
    border-radius: 10px;
    font-size: 1em;
    font-family: inherit;
    resize: none;
    transition: border-color 0.3s;
}

.chat-input-container textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-send {
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-send:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-send:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-voice {
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.5em;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    position: relative;
}

.btn-voice:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-voice.recording {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(245, 87, 108, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(245, 87, 108, 0.6);
    }
}

.btn-voice:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.voice-status {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7em;
    color: var(--primary-color);
    white-space: nowrap;
    font-weight: 600;
}

.ai-action-buttons {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.ai-action-btn {
    padding: 6px 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85em;
    transition: all 0.3s;
}

.ai-action-btn:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
}

/* ============================================
   CLASES UTILITARIAS PARA ELIMINAR ESTILOS INLINE
   ============================================ */

/* Flex Containers */
.flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 15px;
}

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

.flex-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.flex-space-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-center {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* User Info */
.user-info-display {
    display: flex !important;
    align-items: center;
    gap: 10px;
    background: rgba(102, 126, 234, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    visibility: visible;
}

.user-icon {
    font-size: 20px;
}

.user-name {
    font-weight: 600;
    color: #667eea;
}

/* Buttons */
.btn-account {
    padding: 6px 12px;
    font-size: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-logout {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-fullscreen {
    padding: 6px 12px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.btn-fullscreen:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.btn-fullscreen span {
    transition: var(--transition);
    font-size: 16px;
}

.btn-fullscreen:active span {
    transform: scale(0.9);
}

.btn-fullscreen.fullscreen-active {
    background: rgba(255, 255, 255, 0.3);
}

.btn-install-hidden {
    display: none;
}

.btn-small {
    font-size: 0.85em;
    padding: 6px 12px;
}

.btn-margin-top {
    margin-top: 8px;
}

/* Dashboard Filters */
.dashboard-filters {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Filtros */
.filtro-item-compact {
    margin: 0;
}

.select-ordenar {
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* Badge Filtros */
.badge-filtros {
    display: none;
}

.badge-filtros-visible {
    display: inline;
}

/* Panel Filtros */
.panel-filtros-hidden {
    display: none;
}

/* Acciones Masivas */
.acciones-masivas-hidden {
    display: none;
}

/* Text Styles */
.text-small {
    font-size: 0.9em;
    color: #666;
    margin: 10px 0;
}

.text-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
}

.text-label-small {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    cursor: pointer;
}

.label-volume {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
}

.volume-value {
    min-width: 35px;
    text-align: right;
}

.volume-slider {
    flex: 1;
}

/* Estadísticas Recordatorios */
.recordatorios-estadisticas {
    margin-top: 30px;
}

.estadisticas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

/* Pomodoro */
.btn-pause-hidden {
    display: none;
}

.btn-complete-hidden {
    display: none;
}

.progress-fill {
    width: 0%;
}

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

.pomodoro-section-title {
    margin: 0;
}

/* Import/Export */
.import-file-hidden {
    display: none;
}

.btn-margin-bottom {
    margin-bottom: 15px;
}

.storage-used {
    width: 0%;
}

/* Proyectos - Secciones */
.proyecto-section-title {
    margin-top: 20px;
    margin-bottom: 15px;
    color: var(--dark-color);
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 10px;
}

.proyecto-subsection-title {
    margin-top: 15px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

/* Dividers & Margins */
.margin-top-12 {
    margin-top: 12px;
}

.margin-top-15 {
    margin-top: 15px;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-top-30 {
    margin-top: 30px;
}

.margin-bottom-15 {
    margin-bottom: 15px;
}

/* Font Sizes */
.font-small {
    font-size: 11px;
}

/* Cuenta.html - Botón back */
.btn-back-cuenta {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
}
/* ============== ESTILOS MODERNOS Y ANIMACIONES ============== */

/* Mejoras para Modales */
.modal {
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    animation: scaleIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.close {
    transition: var(--transition);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(231, 76, 60, 0.1);
}

.close:hover {
    background: var(--danger-color);
    color: white;
    transform: rotate(90deg) scale(1.1);
}

/* Tooltips */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    padding: 8px 12px;
    background: var(--dark-color);
    color: white;
    border-radius: 8px;
    font-size: 0.85em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 1000;
}

[data-tooltip]:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
}

/* Stack Technology Tags */
.proyecto-stack {
    flex-direction: column;
    gap: 8px;
}

.stack-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.stack-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 500;
    white-space: nowrap;
}

.stack-frontend {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.stack-backend {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.stack-database {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.stack-deployment {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

.stack-otros {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
}

/* Project section titles */
.proyecto-section-title {
    color: var(--primary-color);
    font-size: 1.1em;
    font-weight: 600;
    margin: 20px 0 10px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
}

.proyecto-subsection-title {
    color: var(--dark-color);
    font-size: 1em;
    font-weight: 600;
    margin: 15px 0 8px 0;
}

