:root {
    --font-family-primary: Verdana, sans-serif;
    --font-family-secondary: "Segoe UI", Arial, sans-serif;
    --font-size-base: 16px;
    --color-warm-orange: #cd7100;
    --color-white: #ffffff;
    --border-radius: 4px;
    --box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

body {
    background-color: #f2f2f2;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    margin: 1rem;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-secondary);
    font-weight: 400;
    margin: 0;
    padding: 0;
}

p {
    font-size: 14px;
    font-weight: 300;
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
}


input[type="text"],
button {
    font-size: var(--font-size-base);
    padding: 8px;
    border-radius: var(--border-radius);
    outline: 0;
    border: none;
}

input[type="text"] {
    /* Ajuste de altura y diseño para coincidir con el botón */
    padding: 12px 20px;
    border-radius: 6px;
    border: 2px solid var(--color-warm-orange);
    transition: all 0.3s ease;
    font-weight: 500;
    /* Alineación visual con el botón */
    font-size: 18px;
    /* Aumento de tamaño de fuente */
    width: 65%;
    /* Ancho ajustado para dejar espacio al botón */
}

input[type="text"]:focus {
    /* Efecto de enfoque moderno */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    border-color: #ff8c00;
    /* Destaca el borde al enfocar */
}

input[type="checkbox"] {
    appearance: none;
    width: 21px;
    height: 21px;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    background-color: var(--color-white);
    display: inline-block;
    position: relative;
    cursor: pointer;
    vertical-align: middle;
    margin-right: 10px;
}

input[type="checkbox"]:checked {
    background-color: #ff8c00;
    border-color: #ff8c00;
}

input[type="checkbox"]:checked::before {
    content: '✔';
    display: block;
    color: var(--color-white);
    font-size: 18px;
    text-align: center;
    line-height: 21px;
}

input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(204, 204, 204, 0.5);
}

button {
    /* Mejoras para el botón "Añadir tarea" */
    background: linear-gradient(145deg, #ff8c00, #cc6600);
    border: 2px solid var(--color-warm-orange);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    color: var(--color-white);
    /* Texto blanco para mejor contraste */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    /* Sombra para destacar el texto */
    transition: all 0.3s ease;
}

button:hover {
    background: linear-gradient(145deg, #cc6600, #993300);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

button#add-task-button {
    /* Diseño con icono */
    display: flex;
    align-items: center;
    gap: 8px;
    /* Espacio entre icono y texto */
    padding: 12px 24px;
    /* Aumento de padding para espacio del icono */
    font-size: 1rem;
    /* Ajuste de tamaño de texto */
}

button#add-task-button i.material-icons {
    /* Estilo del icono */
    font-size: 1.2rem;
    /* Tamaño del icono */
    color: var(--color-white);
    /* Color del icono */
}

.delete-button {
    background-color: #d32f2f;
    color: var(--color-white);
    border: none;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: auto;
}

.delete-button:hover {
    background-color: #b22222;
    /* Rojo más oscuro al pasar el mouse */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.delete-button:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    background-color: #fff4e8;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.completed {
    text-decoration: line-through;
}

.title {
    font-size: 42px;
    margin: 0;
    line-height: 1.1;
}

.description {
    font-size: 1rem;
    font-weight: 300;
    color: #555;
    margin: 4px 0 20px;
    line-height: 1.4;
}

.alert {
    padding: 10px;
    margin: 20px 0;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    color: var(--color-white);
    border: 1px solid;
}

.alert-info {
    background-color: #3498db;
    border-color: #108adb;
}

.alert-error {
    background-color: #e74c3c;
    border-color: #c0392b;
}

.alert-warning {
    background-color: #f39c12;
    border-color: #e67e22;
}

.task-input-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}