body {
    background: linear-gradient(135deg, #000000, #1c1c1c);
    /*min-height: 100vh;*/
    /*display: flex;
    justify-content: center;
    align-items: flex-start;*/
    margin: 0;
    padding: 0;
}

.login-container {
    width: 100%;
    max-width: 420px;
}

.login-card {
    background: #1b1b1b;
    padding: 40px;
    border-radius: 20px;
    border-top: 4px solid #00AEEF;
}

.bmw-title {
    color: #00AEEF;
    font-weight: bold;
}

.btn-bmw {
    background: #00AEEF;
    color: white;
    font-weight: bold;
}

.btn-bmw:hover {
    background: #008dc0;
    color: white;
}

/* NAVBAR */
.navbar-bmw {
    background: #111111;
    border-bottom: 3px solid #00AEEF;
}

/* TARJETAS */
.card-bmw {
    background: #1e1e1e;
    border: none;
    border-left: 4px solid #00AEEF;
    border-radius: 15px;
    color: white;
}

/* BUSCADOR */
.buscar-box {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 25px;
}

input.form-control {
    background: #2b2b2b;
    border: 1px solid #444;
    color: white;
}

input.form-control:focus {
    background: #2b2b2b;
    color: white;
    border-color: #00AEEF;
    box-shadow: 0 0 10px rgba(0,174,239,.3);
}
.main-wrapper{
    min-height:100vh;
    background:#0d0d0d;
}

/* NAVBAR */
.navbar-bmw{
    background:#111;
    border-bottom:3px solid #00AEEF;
    padding:12px 20px;
}

/* BUSCADOR */
.search-card{
    background:#1a1a1a;
    border-radius:20px;
    padding:30px;
    border-left:4px solid #00AEEF;
}

.search-title{
    color:white;
    margin-bottom:25px;
    font-weight:700;
}

.search-input{
    height:60px;
    font-size:20px;
    background:#2a2a2a !important;
    border:none;
    color:white !important;
}

/* TARJETAS */
.card-bmw{
    background:#1b1b1b;
    border:none;
    border-radius:20px;
    overflow:hidden;
    border-left:5px solid #00AEEF;
}

.section-title{
    color:white;
    margin-bottom:25px;
    font-weight:700;
}

.info-item{
    margin-bottom:18px;
    color:#ddd;
    font-size:18px;
}

.info-item span{
    color:#00AEEF;
    font-weight:bold;
    margin-right:8px;
}

/* BOTÓN */
.btn-bmw{
    background:#00AEEF;
    color:white;
    font-weight:700;
    border:none;
}

.btn-bmw:hover{
    background:#0094cc;
    color:white;
}

/* RESPONSIVE */
@media(max-width:768px){

    .search-card{
        padding:20px;
    }

    .search-title{
        font-size:22px;
    }

    .info-item{
        font-size:16px;
    }

    .navbar-brand{
        font-size:16px;
    }
}
/* LAYOUT */
.layout{
    display:flex;
    min-height:100vh;
}

/* SIDEBAR */
.sidebar{
    width:260px;
    background:#111;
    border-right:2px solid #00AEEF;
    padding:25px 15px;
    position:fixed;
    top:0;
    left:0;
    height:100%;
    overflow-y:auto;
}

.sidebar-logo{
    color:#00AEEF;
    font-size:24px;
    font-weight:700;
    margin-bottom:40px;
    text-align:center;
}

.sidebar-link{
    display:block;
    padding:14px 18px;
    margin-bottom:10px;
    border-radius:12px;
    color:#ddd;
    text-decoration:none;
    transition:.2s;
    font-size:17px;
}

.sidebar-link:hover{
    background:#1f1f1f;
    color:#00AEEF;
}

.sidebar-link.active{
    background:#00AEEF;
    color:white;
    font-weight:bold;
}

/* CONTENIDO */
.main-content{
    margin-left:260px;
    width:100%;
    padding:25px;
}

/* RESPONSIVE */
@media(max-width:768px){

    .sidebar{
        width:80px;
    }

    .sidebar-logo{
        font-size:14px;
    }

    .sidebar-link{
        font-size:0;
        text-align:center;
        padding:18px 10px;
    }

    .main-content{
        margin-left:80px;
        padding:15px;
    }
}
textarea.form-control,
select.form-control{

    background:#2b2b2b !important;
    border:none;
    color:white !important;
}

label{
    margin-bottom:8px;
    color:#00AEEF;
    font-weight:600;
}
/* =========================
   TABLAS BMW
========================= */

.table{
    color:white !important;
    border-collapse:separate;
    border-spacing:0;
}

.table-dark{
    --bs-table-bg:#1b1b1b !important;
    --bs-table-striped-bg:#232323 !important;
    --bs-table-hover-bg:#2a2a2a !important;
    --bs-table-border-color:#333 !important;
}

.table thead{
    background:#00AEEF;
}

.table thead th{
    color:white !important;
    border:none !important;
    padding:15px;
}

.table td{
    border-color:#333 !important;
    padding:14px;
    vertical-align:middle;
}

.table tbody tr{
    transition:.2s;
}

.table tbody tr:hover{
    background:#2a2a2a !important;
}
/* =========================
   DASHBOARD
========================= */

.dashboard-card{

    background:#1b1b1b;
    border-radius:20px;
    padding:25px;
    display:flex;
    align-items:center;
    gap:20px;
    border-left:5px solid #00AEEF;
    height:100%;
    transition:.2s;
}

.dashboard-card:hover{

    transform:translateY(-3px);
}

.dashboard-icon{

    width:70px;
    height:70px;
    background:#00AEEF;
    border-radius:15px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
}

.dashboard-card h3{

    color:white;
    margin:0;
    font-size:32px;
    font-weight:700;
}

.dashboard-card p{

    margin:0;
    color:#aaa;
}

.alert-card{

    border-left:5px solid #ff4444;
}

.alert-card .dashboard-icon{

    background:#ff4444;
}
/* =========================
   FORMULARIOS
========================= */

.form-control{

    background:#2b2b2b !important;
    border:1px solid #444 !important;
    color:white !important;
    border-radius:12px;
    min-height:48px;
}

.form-control:focus{

    border-color:#00AEEF !important;
    box-shadow:none !important;
    background:#333 !important;
    color:white !important;
}

/* =========================
   BOTONES
========================= */

.btn{

    border-radius:12px;
    padding:10px 18px;
    font-weight:600;
}

.btn-bmw{

    background:#00AEEF;
    border:none;
    color:white;
}

.btn-bmw:hover{

    background:#0095cc;
    color:white;
}

/* =========================
   CARDS
========================= */

.card-bmw{

    background:#1b1b1b;
    border:none;
    border-radius:20px;
    overflow:hidden;
}

/* =========================
   TEXTOS
========================= */

body{

    background:#0f0f0f;
    color:white;
}

label{

    color:#00AEEF;
    margin-bottom:8px;
    font-weight:600;
}
/* =========================
   PAGE HEADER
========================= */

.page-header{

    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
    flex-wrap:wrap;
    gap:15px;
}

.page-title{

    color:white;
    font-size:30px;
    font-weight:700;
    margin:0;
}

.page-actions{

    display:flex;
    gap:10px;
    flex-wrap:wrap;
}
/* =========================
   TABLE WRAPPER
========================= */

.table-responsive{

    border-radius:18px;
    overflow:hidden;
}
.info-box{

    background: rgba(255,255,255,0.03);

    border:1px solid rgba(255,255,255,0.05);

    border-radius:16px;

    padding:20px;

    height:100%;
}

.info-box h4,
.info-box h5{

    margin-top:10px;
}
/*login*/
.login-body {

    min-height: 100vh;

    display: flex;

    justify-content: center;

    align-items: center;
}