﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f9f9f9;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
    min-height: 600px;
}

.form-section {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #f9f9f9;
}

    .form-section h2 {
        font-size: 24px;
        color: #062a51;
        margin-bottom: 20px;
    }

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.btn-submit {
    padding: 12px;
    border: none;
    border-radius: 4px;
    background-color: #062a51;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
}

    .btn-submit:hover {
        background-color: #054177;
    }

.terms {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

    .terms a {
        color: #062a51;
        text-decoration: none;
    }

        .terms a:hover {
            text-decoration: underline;
        }

.image-section {
    flex: 1;
    background-size: cover;
    background-position: center;
}

    .image-section img {
        width: 100%;
        height: auto;
        display: block;
    }

.table-responsive {
    font-size:14px!important;
}

.table > :not(:last-child) > :last-child > * {
    border-bottom-color: transparent !important;
    vertical-align: middle;
}
/*Menu Principal*/
body {
    background-color: #f7f8fa;
}

.app-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    border-right: 1px solid #e4e7eb;
    height: 100vh;
    position: fixed; /* Fijar la barra lateral */
    left: 0; /* Asegurarse de que esté pegada al borde izquierdo */
    top: 0; /* Asegurar que esté al inicio de la página */
    overflow-y: auto; /* Permitir desplazamiento si el contenido es demasiado largo */
    z-index: 1000; /* Asegurar que el sidebar esté sobre otros elementos */
}

.logo img {
    width: 120px;
    margin-bottom: 20px;
}

.menu {
    list-style-type: none;
    width: 100%;
    padding-left: 0;
}

.menu-item {
    width: 100%;
    padding: 10px 20px;
    text-align: left;
    cursor: pointer;
    color: #333;
    font-size: 16px;
}

    .menu-item a {
        font-weight: bold;
        color: #333;
    }

    .menu-item.active {
        background-color: #e4e7eb;
        font-weight: bold;
    }

    .menu-item:hover {
        background-color: #f0f0f0;
    }

.settings {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 20px;
    margin-top: auto;
}

.settings-icon {
    font-size: 20px;
}

.user-profile {
    display: flex;
    align-items: center;
}

    .user-profile img {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        margin-right: 10px;
    }

.logout-button {
    background-color: #ff4081;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 20px;
    border-radius: 5px;
    font-size: 14px;
}

    .logout-button:hover {
        background-color: #e91e63;
    }

.main-content {
    flex-grow: 1;
    padding: 20px;
    margin-left: 250px; 
    width: calc(100% - 250px); 
}

.panellocal {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

    .panellocal h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

.statistics {
    display: flex;
    justify-content: space-between;
}

.statistic {
    text-align: center;
}

    .statistic .icon {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .statistic .value {
        font-size: 24px;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .statistic .label {
        font-size: 14px;
        color: #777;
        margin-bottom: 5px;
    }

    .statistic .change {
        font-size: 12px;
        color: #777;
    }

.change.positive {
    color: #4caf50;
}

.change.negative {
    color: #f44336;
}

.service-table {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    text-align: left;
    padding: 10px;
    border-bottom: 1px solid #e4e7eb;
    font-weight: normal !important;
}

.status {
    text-align: center;
    border-radius: 20px;
    padding: 5px 10px;
    color: #fff;
}

    .status.in-progress {
        background-color: #03a9f4;
    }

        .status.in-progress.en-camino {
            background-color: #ffb74d;
        }


.search-bar {
    margin-bottom: 20px;
}

    .search-bar input {
        width: 100%;
        padding: 10px;
        border-radius: 5px;
        border: 1px solid #e4e7eb;
    }