/* ============================================================
   ESTILOS BASE Y FONDO
   ============================================================ */
body {
    background-color: #2D3033; /* fondo ligeramente más oscuro */
    color: #DDDCDB;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

/* ============================================================
   TÍTULOS Y TEXTOS
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    color: #DDDCDB;
    font-weight: 600;
}

.subtitulo {
    color: #EDBF9B;
}

.text-muted-custom {
    color: #A0A4A8 !important;
}

/* ============================================================
   ENLACES
   ============================================================ */
a {
    color: #EDBF9B;
    text-decoration: none;
}
a:hover {
    color: #FD7B41;
    text-decoration: none;
}

/* ============================================================
   BOTONES PERSONALIZADOS
   ============================================================ */
.btn-movex {
    background-color: #FD7B41;
    color: #3C4044;
    border: none;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
}
.btn-movex:hover {
    background-color: #e0662e;
    color: #3C4044;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(253, 123, 65, 0.4);
}
.btn-movex:active {
    transform: scale(0.98);
}

.btn-outline-movex {
    background-color: transparent;
    color: #FD7B41;
    border: 1px solid #FD7B41;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
}
.btn-outline-movex:hover {
    background-color: #FD7B41;
    color: #3C4044;
}

/* ============================================================
   TARJETAS (CARDS)
   ============================================================ */
.card {
    background-color: #3C4044;
    border: 1px solid #FD7B41;
    border-radius: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease;
}
.card:hover {
    box-shadow: 0 12px 36px rgba(253, 123, 65, 0.15);
}
.card-header {
    background-color: #FD7B41;
    color: #3C4044;
    font-weight: 600;
    border-radius: 0.75rem 0.75rem 0 0 !important;
    padding: 1rem 1.25rem;
}
.card-header h5 {
    color: #3C4044;
    margin-bottom: 0;
}

/* ============================================================
   TABLAS
   ============================================================ */
.table {
    color: #DDDCDB;
    background-color: #3C4044;
}
.table thead th {
    background-color: #4A4F52;
    color: #EDBF9B;
    font-weight: 600;
    border-bottom: 2px solid #FD7B41;
    padding: 0.75rem 1rem;
}
.table tbody tr {
    border-bottom: 1px solid #4A4F52;
    transition: background-color 0.15s;
}
.table tbody tr:hover {
    background-color: #4A4F52;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: #F4E9CE;
}
.table-striped tbody tr:nth-of-type(even) {
    background-color: #F4E9CE;
}

/* ============================================================
   FORMULARIOS
   ============================================================ */
.form-control,
.form-select {
    background-color: #2D3033;
    color: #DDDCDB;
    border: 1px solid #FD7B41;
    border-radius: 0.375rem;
    padding: 0.6rem 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus,
.form-select:focus {
    background-color: #2D3033;
    color: #DDDCDB;
    border-color: #EDBF9B;
    box-shadow: 0 0 0 0.25rem rgba(253, 123, 65, 0.25);
}
.form-control::placeholder {
    color: #888C90;
}
.form-label {
    color: #DDDCDB;
    font-weight: 500;
}

/* ============================================================
   ALERTAS
   ============================================================ */
.alert {
    border-radius: 0.5rem;
    border-left: 4px solid;
}
.alert-success {
    background-color: #1E3A2F;
    border-color: #28a745;
    color: #B8E6C1;
}
.alert-danger {
    background-color: #3D1E1E;
    border-color: #dc3545;
    color: #F5C6C6;
}
.alert-warning {
    background-color: #3D3A1E;
    border-color: #ffc107;
    color: #F5E6B8;
}
.alert-info {
    background-color: #1E2A3D;
    border-color: #17a2b8;
    color: #B8DEE6;
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
}

/* ============================================================
   MODALES
   ============================================================ */
.modal-content {
    background-color: #3C4044;
    color: #DDDCDB;
    border: 1px solid #FD7B41;
    border-radius: 0.75rem;
}
.modal-header {
    border-bottom: 1px solid #FD7B41;
}
.modal-footer {
    border-top: 1px solid #FD7B41;
}
.modal-title {
    color: #EDBF9B;
}

/* ============================================================
   SELECT2 (si se usa)
   ============================================================ */
.select2-container--bootstrap-5 .select2-selection {
    background-color: #2D3033 !important;
    border: 1px solid #FD7B41 !important;
    color: #DDDCDB !important;
}
.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    color: #DDDCDB !important;
}
.select2-container--bootstrap-5 .select2-dropdown {
    background-color: #2D3033 !important;
    border: 1px solid #FD7B41 !important;
}
.select2-container--bootstrap-5 .select2-results__option {
    color: #DDDCDB !important;
}
.select2-container--bootstrap-5 .select2-results__option--highlighted {
    background-color: #FD7B41 !important;
    color: #3C4044 !important;
}

/* ============================================================
   DATA TABLES (personalización ligera)
   ============================================================ */
.dataTables_wrapper .dataTables_filter input {
    background-color: #2D3033;
    color: #DDDCDB;
    border: 1px solid #FD7B41;
    border-radius: 0.375rem;
    padding: 0.4rem 0.8rem;
}
.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #EDBF9B;
    box-shadow: 0 0 0 0.25rem rgba(253, 123, 65, 0.25);
}
.dataTables_wrapper .dataTables_length select {
    background-color: #2D3033;
    color: #DDDCDB;
    border: 1px solid #FD7B41;
    border-radius: 0.375rem;
    padding: 0.25rem 1.5rem 0.25rem 0.5rem;
}
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate .paginate_button {
    color: #DDDCDB !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-color: #FD7B41 !important;
    color: #3C4044 !important;
    border-radius: 0.375rem;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: #e0662e !important;
    color: #3C4044 !important;
}

/* ============================================================
   UTILIDADES ADICIONALES
   ============================================================ */
.shadow-movex {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.border-movex {
    border: 1px solid #FD7B41;
}

/* Transición suave en hover de elementos interactivos */
.btn, .card, .form-control, .form-select, .table tbody tr {
    transition: all 0.2s ease-in-out;
}

/* Estilos para el login (ya que lo compartiste) */
.login-card {
    background-color: #3C4044;
    border: 1px solid #FD7B41;
    border-radius: 1rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}
.login-card h2 {
    color: #EDBF9B;
}
.login-card .btn-login {
    background-color: #FD7B41;
    color: #3C4044;
    font-weight: 600;
    border: none;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}
.login-card .btn-login:hover {
    background-color: #e0662e;
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(253, 123, 65, 0.4);
}

/* ============================================================
   LOGIN.PHP — PANTALLA DE INICIO DE SESIÓN
   ============================================================ */
.movex-login-body {
    background-color: #2D3033;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.movex-login-container {
    flex: 1;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.movex-login-card {
    background-color: #3C4044;
    color: #DDDCDB;
    border: 1px solid #FD7B41;
    border-radius: 1rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    padding: 2rem 2rem 1.5rem;
}

.movex-login-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.movex-login-logo {
    max-width: 96px;
    max-height: 96px;
    object-fit: contain;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
}

.movex-login-title {
    color: #EDBF9B;
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 0.15rem;
}

.movex-login-tagline {
    color: #DDDCDB;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.movex-login-subtitle {
    color: #A0A4A8;
    font-size: 0.85rem;
    margin-bottom: 0;
}

.movex-login-alert {
    border-radius: 0.5rem;
    font-size: 0.9rem;
}

.movex-login-input {
    background-color: #2D3033;
    color: #DDDCDB;
    border: 1px solid #FD7B41;
}

.movex-login-input:focus {
    background-color: #2D3033;
    color: #DDDCDB;
    border-color: #EDBF9B;
    box-shadow: 0 0 0 0.25rem rgba(253, 123, 65, 0.25);
}

.movex-login-input-icon {
    padding-left: 2.75rem;
}

.movex-login-input ~ label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #A0A4A8;
}

.movex-login-icon {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    color: #EDBF9B;
}

.movex-login-btn {
    background-color: #FD7B41;
    color: #3C4044;
    font-weight: 600;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease-in-out;
}

.movex-login-btn:hover {
    background-color: #e0662e;
    color: #3C4044;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(253, 123, 65, 0.4);
}

.movex-login-btn-icon {
    width: 1.1rem;
    height: 1.1rem;
}

.movex-login-btn-loading {
    background-color: #4A4F52 !important;
    color: #DDDCDB !important;
    box-shadow: none !important;
    transform: none !important;
}

.movex-login-footer {
    margin-top: 1.5rem;
    text-align: center;
}

.movex-login-features {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.movex-login-feature {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    color: #A0A4A8;
    font-size: 0.72rem;
}

.movex-login-feature-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #EDBF9B;
}

.movex-login-link {
    color: #EDBF9B;
    font-size: 0.85rem;
    text-decoration: none;
}

.movex-login-link:hover {
    color: #FD7B41;
    text-decoration: underline;
}