body {
background: linear-gradient(135deg, #3b1968 0%, #7936bb 100%);
}

hr {
height: 7px; 
background-color: #451d79; 
}

.card-login {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}
.btn-custom {
background: #451d79;
color: white;
transition: all 0.3s ease;
}
.btn-custom:hover {
background: #6b2fa8;
color: white;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(69, 29, 121, 0.4);
}
.modal-custom .modal-content {
background: linear-gradient(135deg, #451d79 0%, #6b2fa8 100%);
color: white;
border: none;
border-radius: 1rem;
}
.success-icon {
font-size: 4rem;
}
.form-control:focus {
border-color: #6b2fa8;
box-shadow: 0 0 0 0.2rem rgba(107, 47, 168, 0.25);
}
.alert-custom {
background: rgba(220, 53, 69, 0.1);
border: 1px solid rgba(220, 53, 69, 0.3);
color: #dc3545;
border-radius: 0.5rem;
}
.pagina {
display: none;
}
.pagina.activa {
display: block;
}
.sidebar {
background-color: #451d79;
}
.sidebar .nav-link:hover {
background-color: #7a3cc9;
border-radius: 5px;
}

.card-dashboard {
height: 150px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
font-weight: bold;
cursor: pointer;
transition: 0.3s;
}
.card-dashboard:hover {
transform: scale(1.05);
}
.card-dashboard.tareas {
background-color: #7024d3;
}
.card-dashboard.usuarios {
background-color: #8852ce;
}
.card-dashboard.cuenta {
background-color: #ba90f1;
}

/* Rectangulo para agregar una nota */
.notas-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
}

/* estilo del contenedor para agregar nota */
.card-agregar {
    background-color: #e2d8ef;
    border: 2px;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 200px;
}

.icono-agregar {
    font-size: 60px;
    color: #451d79;
    font-weight: 300;
}

.card-agregar p {
    color: #451d79;
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
}

/* Cards de notas */
.card-nota {
    background-color: #e2d8ef;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nota-header {
    margin-bottom: 10px;
}

.nota-titulo {
    font-size: 20px;
    color: #451d79;
    font-weight: 700;
    margin-bottom: 8px;
    word-wrap: break-word;
}

.nota-fecha {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.nota-descripcion {
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.5;
    word-wrap: break-word;
    flex-grow: 1;
}

.nota-botones {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-editar-nota {
    background-color: #4ac7ac;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-editar-nota:hover {
    background-color: #348d7a;
}

.btn-eliminar-nota {
    background-color: #c74a4a;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-eliminar-nota:hover {
    background-color: #a33939;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-contenido {
  background-color: #fff;
  margin: 5% auto;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.cerrar {
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #666;
  line-height: 20px;
}

.cerrar:hover {
    color: #451d79;
}

#tituloModal {
    color: #451d79;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    clear: both;
    padding-top: 10px;
}

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

.campo {
    text-align: left;
}

.lblCampo {
    font-size: 16px;
    color: #451d79;
    margin-bottom: 8px;
    display: block;
    font-weight: 600;body {
background: linear-gradient(135deg, #3b1968 0%, #7936bb 100%);
}

hr {
height: 7px; 
background-color: #451d79; 
}

.card-login {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}
.btn-custom {
background: #451d79;
color: white;
transition: all 0.3s ease;
}
.btn-custom:hover {
background: #6b2fa8;
color: white;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(69, 29, 121, 0.4);
}
.modal-custom .modal-content {
background: linear-gradient(135deg, #451d79 0%, #6b2fa8 100%);
color: white;
border: none;
border-radius: 1rem;
}
.success-icon {
font-size: 4rem;
}
.form-control:focus {
border-color: #6b2fa8;
box-shadow: 0 0 0 0.2rem rgba(107, 47, 168, 0.25);
}
.alert-custom {
background: rgba(220, 53, 69, 0.1);
border: 1px solid rgba(220, 53, 69, 0.3);
color: #dc3545;
border-radius: 0.5rem;
}
.pagina {
display: none;
}
.pagina.activa {
display: block;
}
.sidebar {
background-color: #451d79;
}
.sidebar .nav-link:hover {
background-color: #7a3cc9;
border-radius: 5px;
}

.card-dashboard {body {
background: linear-gradient(135deg, #3b1968 0%, #7936bb 100%);
}

hr {
height: 7px; 
background-color: #451d79; 
}

.card-login {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}
.btn-custom {
background: #451d79;
color: white;
transition: all 0.3s ease;
}
.btn-custom:hover {
background: #6b2fa8;
color: white;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(69, 29, 121, 0.4);
}
.modal-custom .modal-content {
background: linear-gradient(135deg, #451d79 0%, #6b2fa8 100%);
color: white;
border: none;
border-radius: 1rem;
}
.success-icon {
font-size: 4rem;
}
.form-control:focus {
border-color: #6b2fa8;
box-shadow: 0 0 0 0.2rem rgba(107, 47, 168, 0.25);
}
.alert-custom {
background: rgba(220, 53, 69, 0.1);
border: 1px solid rgba(220, 53, 69, 0.3);
color: #dc3545;
border-radius: 0.5rem;
}
.pagina {
display: none;
}
.pagina.activa {
display: block;
}
.sidebar {
background-color: #451d79;
}
.sidebar .nav-link:hover {
background-color: #7a3cc9;
border-radius: 5px;
}
body {
background: linear-gradient(135deg, #3b1968 0%, #7936bb 100%);
}

hr {
height: 7px; 
background-color: #451d79; 
}

.card-login {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}
.btn-custom {
background: #451d79;
color: white;
transition: all 0.3s ease;
}
.btn-custom:hover {
background: #6b2fa8;
color: white;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(69, 29, 121, 0.4);
}
.modal-custom .modal-content {
background: linear-gradient(135deg, #451d79 0%, #6b2fa8 100%);
color: white;
border: none;
border-radius: 1rem;
}
.success-icon {
font-size: 4rem;
}
.form-control:focus {
border-color: #6b2fa8;
box-shadow: 0 0 0 0.2rem rgba(107, 47, 168, 0.25);
}
.alert-custom {
background: rgba(220, 53, 69, 0.1);
border: 1px solid rgba(220, 53, 69, 0.3);
color: #dc3545;
border-radius: 0.5rem;
}
.pagina {
display: none;
}
.pagina.activa {
display: block;
}
.sidebar {
background-color: #451d79;
}
.sidebar .nav-link:hover {
background-color: #7a3cc9;
border-radius: 5px;
}

.card-dashboard {
height: 150px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
font-weight: bold;
cursor: pointer;
transition: 0.3s;
}
.card-dashboard:hover {
transform: scale(1.05);
}
.card-dashboard.tareas {
background-color: #7024d3;
}
.card-dashboard.usuarios {
background-color: #8852ce;
}
.card-dashboard.cuenta {
background-color: #ba90f1;
}

.card-dashboard {
height: 150px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
font-weight: bold;
cursor: pointer;
transition: 0.3s;
}
.card-dashboard:hover {
transform: scale(1.05);
}
.card-dashboard.tareas {
background-color: #7024d3;
}
.card-dashboard.usuarios {
background-color: #8852ce;
}
.card-dashboard.cuenta {
background-color: #ba90f1;
}
}
.card-dashboard:hover {
transform: scale(1.05);
}
.card-dashboard.tareas {
background-color: #7024d3;
}
.card-dashboard.usuarios {
background-color: #8852ce;
}
.card-dashboard.cuenta {
background-color: #ba90f1;
}

}

.inputCampo {
    font-size: 16px;
    padding: 10px;
    border: 1px solid #a4a9ad;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    background-color: white;
    resize: vertical;
}

.inputCampo:focus {
    outline: none;
    border-color: #451d79;
}

.botonAgregar {
    font-size: 18px;
    background-color: #451d79;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    font-weight: 600;
    margin-top: 10px;
}

.botonAgregar:hover {
    background-color: #250b47;
}