/* ================== CONTENEDOR PRINCIPAL ================== */
.container {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1000px;
    margin: auto;
    box-sizing: border-box;
}

/* ================== TITULO ================== */
h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

/* ================== FORMULARIO ================== */
label {
    margin-bottom: 5px;
    color: #555;
}

input,
select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

/* ================== BOTONES ================== */
.btn {
    background-color: #007BFF;
    color: #ffffff;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.btn:hover {
    background-color: #0056b3;
}

/* ================== RESPONSIVE ================== */
/* @media (max-width: 00px) {
    main.container {
        min-height: 100vh;
        overflow-x: hidden;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }
} */


/* ================== MODAL ================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    width: 80%;
    max-width: 400px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

/* ================== DROPDOWN ================== */
.dropdown-menu .dropdown-item .form-check-label {
    font-size: 1rem;
}

.dropdown-item.active::before {
    content: "✓";
    margin-right: 8px;
    color: green;
    font-weight: bold;
}

.dropdown-item:focus,
.dropdown-item:active,
.dropdown-item:focus-visible {
    background-color: transparent !important;
    color: inherit !important;
    outline: none !important;
    box-shadow: none !important;
}

.dropdown-item:hover {
    background-color: #f1f1f1;
    color: #000;
}

/* ================== CHART CONTAINER ================== */
#chartContainer {
    background-color: #343a40;
    border-radius: 10px;
    border: 1px solid #6c757d;
    overflow: hidden;
}

/* ================== EXTRA ================== */
body {
    font-family: 'Open Sans', sans-serif;
    color: #e9ecef;
}


.form-control,
.form-select {
    background-color: #495057;
    border: 1px solid #6c757d;
    color: #e9ecef;
}

.form-control:focus,
.form-select:focus {
    background-color: #495057;
    color: #e9ecef;
    box-shadow: none;
    border-color: #adb5bd;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    border-radius: 8px;
    padding: 12px 30px;
    font-size: 1rem;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.custom-display {
    background-color: #495057;
    color: #e9ecef;
    font-size: 0.9rem;
    padding: 0.1rem 0.1rem;
    border: 1px solid #6c757d;
    border-radius: 0.40rem;
    text-align: center;
}

.input-narrow {
    max-width: 150px;
}

/* Inputs especiales */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"].form-control {
    border: 1px solid #6c757d;
}

input[type="number"]:focus,
input[type="number"].form-control:focus {
    border-color: #adb5bd !important;
}

input[type="time"].form-control {
    height: 30px;
}

.dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
}