* {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    margin: 0;
    background: #f2f2f2;
}

.contenedor {
    display: flex;
    height: 100vh;
    padding: 10px;
}

.tablero {
    flex: 3;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 200px);
    gap: 20px;
    padding: 20px;
    border: 2px solid black;
    background: white;
}

.celda {
    position: relative;
}

/* Nota */
.nota {
    width: 100%;
    height: 100%;
    padding: 10px;
    border: 2px solid #333;
    position: relative;
    word-wrap: break-word;
}

.nota h3 {
    margin-top: 0;
    text-align: center;
}

.fecha {
    position: absolute;
    bottom: 5px;
    left: 10px;
    font-size: 12px;
}

.borrar {
    position: absolute;
    top: 5px;
    right: 8px;
    cursor: pointer;
    font-size: 18px;
}

.panel {
    flex: 1;
    border: 2px solid black;
    padding: 15px;
    background: #fff;
}

.titulo {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;

    background: linear-gradient(90deg, #6a5cff, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.panel label {
    display: block;
    margin-top: 10px;
}

.panel input,
.panel textarea {
    width: 100%;
    padding: 5px;
}

.panel textarea {
    height: 80px;
}

.botones {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}

.botones button {
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #6a5cff;
    color: white;
    transition: 0.2s;
}

.botones button:hover {
    background: #5848e0;
}

.panel input,
.panel textarea,
.panel select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border-radius: 8px;
    border: 1px solid #ddd;
    outline: none;
}

.panel input:focus,
.panel textarea:focus,
.panel select:focus {
    border-color: #6a5cff;
}

#preview {
    margin-top: 15px;
}