/* css/style.css - Versión Minimalista Sutil y Corregida */
body {
    font-family: 'Exo 2', sans-serif;
    /* Esto hará que todos los textos, botones e inputs
       usen la nueva fuente automáticamente */
}

/* Un pequeño ajuste para los títulos black (negrita extrema)
   que tanto nos gustan en Flowi */
h1, h2, h3, h4, .font-black {
    font-family: 'Exo 2', sans-serif;
    font-weight: 900;
}
/* Contenedores y Tarjetas Principales */
.card-white {
    background-color: #ffffff;
    /* Reducimos el radio de borde para esquinas mucho más sutiles */
    border-radius: 0.75rem;
    border: none;
    /* Sombra muy sutil para profundidad */
    box-shadow: 0 4px 10px 0 rgba(148, 163, 184, 0.05);
}

/* Títulos y Etiquetas */
.label-caps {
    font-size: 10px;
    font-weight: 900;
    color: #a0aec0; /* Gris muy suave */
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.status-online {
    font-size: 9px;
    font-weight: 700;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Botones de Energía (Sidebar) */
.energy-btn {
    flex: 1 1 0%;
    padding: 1rem;
    /* Radio de borde sutil para botones */
    border-radius: 0.6rem;
    transition: all 0.3s ease;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Borde muy fino para botones inactivos */
    border: 0.5px solid rgba(226, 232, 240, 0.4);
}

/* Vaciado Mental (Gemini Input) */
/* Sección oscura con borde sutil */
.vaciado-seccion {
    background-color: #1e293b;
    padding: 1.5rem;
    /* Radio de borde sutil, no más pastilla */
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    /* AÑADIMOS EL BORDE SUTIL SOLICITADO */
    border: 0.5px solid #F1F5F9;
    color: white;
}

.textarea-dark {
    width: 100%;
    height: 6rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.03); /* Fondo casi invisible */
    /* Radio de borde sutil interno */
    border-radius: 0.5rem;
    border: none;
    font-size: 0.75rem;
    color: #dbeafe;
    outline: none;
    resize: none;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
}

.textarea-dark:focus {
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.5);
}

.btn-primary-small {
    background-color: #2563eb;
    color: white;
    font-size: 9px;
    font-weight: 900;
    padding: 0.5rem;
    /* Radio de borde sutil para botones pequeños */
    border-radius: 0.5rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

/* Banner IA (Consejos) */
.banner-ia {
    background: linear-gradient(to right, #2563eb, #1d4ed8);
    padding: 2.5rem;
    /* Reducimos el radio de borde significativamente */
    border-radius: 1rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.12);
}

.ia-tag {
    background-color: rgba(255, 255, 255, 0.15);
    font-size: 9px;
    font-weight: 900;
    padding: 0.25rem 0.75rem;
    border-radius: 0.4rem; /* Radio sutil para tags */
    text-transform: uppercase;
    display: inline-block;
    font-style: italic;
    margin-bottom: 1rem;
}

.banner-icon {
    position: absolute;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    opacity: 0.06;
}

/* Tareas y Botones Principales */
.btn-add-task {
    background-color: #2563eb;
    color: white;
    padding: 1rem 2rem;
    /* Radio de borde sutil para botones grandes */
    border-radius: 0.75rem;
    font-weight: 900;
    font-size: 0.75rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px -4px rgba(37, 99, 235, 0.1);
}

.btn-add-task:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px -4px rgba(37, 99, 235, 0.15);
}

.task-card {
    background-color: white;
    padding: 1.5rem;
    /* Reducimos el radio de borde de las tareas */
    border-radius: 1rem;
    border-left: 5px solid #2563eb;
    border-top: none;
    border-right: none;
    border-bottom: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 10px 0 rgba(148, 163, 184, 0.04);
}

.category-tag {
    font-size: 9px;
    font-weight: 900;
    padding: 0.25rem 0.5rem;
    /* Radio sutil para tags de categoría */
    border-radius: 0.4rem;
    text-transform: uppercase;
}

/* Modal (Nueva Tarea) */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background-color: white;
    width: 100%;
    max-width: 32rem;
    /* Reducimos el radio de borde del modal */
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
}

.btn-primary {
    background-color: #2563eb;
    color: white;
    font-weight: 900;
    padding: 1.25rem;
    /* Radio de borde sutil para el botón principal del modal */
    border-radius: 0.75rem;
    width: 100%;
    text-transform: uppercase;
    transition: all 0.3s ease;
}


/* Estilizacion de Inputs y Selects del Modal */
.input-field, .select-field {
    width: 100%;
    padding: 1rem 1.25rem;
    background-color: #f8fafc; /* Gris muy claro, casi blanco */
    border: 1px solid #e2e8f0; /* Borde muy sutil */
    border-radius: 0.75rem;     /* Esquinas suavizadas, no pastilla */
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    outline: none;
    transition: all 0.2s ease;
    appearance: none; /* Quita el estilo por defecto del navegador */
}

/* Efecto al hacer clic o escribir */
.input-field:focus, .select-field:focus {
    background-color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Icono personalizado para los Selects (la flechita) */
.select-field {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    cursor: pointer;
}

/* Ajuste para que el texto de ayuda (placeholder) se vea elegante */
.input-field::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

/* Label sutil encima de los campos */
.modal-label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    margin-left: 0.25rem;
}
