/* CSS base para todos los dispositivos */
body {
    background: linear-gradient(to bottom right, #004d9b, #5aad31);
    color: #004d9b;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
}

.nav-wrapper {
    background-color: #5aad31;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.container {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    max-width: 500px;
    width: 100%;
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-header {
    background-color: #004d9b;
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 10px 10px 0 0;
    width: 100%;
    margin-bottom: 20px;
}

.form-body {
    width: 100%;
}

.btn-custom {
    background-color: #004d9b;
    color: white;
    width: 100%;
    max-width: 300px;
    
}

.btn-custom:hover {
    background-color: #5aad31;
}

.icon-prefix {
    color: #004d9b;
}

.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.logo img {
    max-width: 100px;
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    margin-top: 20px;
    border-top: 1px solid #004d9b;
}

.footer img {
    max-width: 50px;
    margin-left: 5px;
}

.input-field {
    position: relative;
}

.input-field .material-icons.prefix {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 10px;
}

.datepicker-container {
    margin-bottom: 10px;
}

.timepicker-container {
    margin-top: 10px;
}

/* Modal */
.modal {
    max-width: 80%;
    max-height: 80%;
}

.modal-content {
    padding: 20px;
}

.modal-footer {
    padding: 10px 20px;
    text-align: right;
}

.modal-close {
    color: #fff;
    background-color: #5aad31;
}

.modal-close:hover {
    background-color: #4a922a;
}

/* Media queries para dispositivos móviles */
@media screen and (max-width: 600px) {
    .nav-wrapper {
        background-color: #5aad31;
        width: 100%;
        position: fixed;
        top: 0;
        z-index: 1000;
    }

    .container {
        width: 100%;
        margin-top: 60px;
        padding: 10px;
    }

    .form-header {
        padding: 10px;
    }

    .form-body {
        padding: 10px;
    }

    .input-field {
        padding: 10px;
    }

    .right-side {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .right-side li {
        list-style-type: none;
        margin-left: 10px;
    }
}

/* Custom styles for the user table */
.table-container {
    width: 100%;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    margin-top: 20px;
}

.table th, .table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.table th {
    background-color: #004d9b;
    color: white;
}

/* Ensure table stretches full width on larger screens */
@media screen and (min-width: 768px) {
    .table-container {
        max-width: 100%;
    }
}
