
/* =========================
YOJU HOTEL SYSTEM
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,Helvetica,sans-serif;
}

body{
    background:#020617;
    color:white;
}

/* =========================
LOGIN
========================= */

.login-container{
    width:100%;
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
}

.login-box{
    width:380px;
    background:#111827;
    padding:35px;
    border-radius:20px;
    box-shadow:
    0 5px 20px rgba(0,0,0,0.4);
}

.login-box h1{
    text-align:center;
    margin-bottom:25px;
}

/* =========================
SIDEBAR
========================= */

.sidebar{
    width:220px;
    height:100vh;
    background:#0f172a;
    position:fixed;
    left:0;
    top:0;
    padding:20px;
    overflow-y:auto;
}

.sidebar h2{
    margin-bottom:30px;
    color:white;
}

.sidebar a{
    display:block;
    padding:14px;
    margin-bottom:14px;
    background:#1e293b;
    border-radius:12px;
    color:white;
    text-decoration:none;
    transition:0.3s;
}

.sidebar a:hover{
    background:#2563eb;
}

/* =========================
MAIN CONTENT
========================= */

.main-content{
    margin-left:240px;
    padding:25px;
}

/* =========================
TOPBAR
========================= */

.topbar{
    margin-bottom:25px;
}

.topbar h1{
    font-size:34px;
}

/* =========================
BUTTONS
========================= */

.lang-btn{
    background:#2563eb;
    color:white;
    border:none;
    padding:10px 16px;
    border-radius:10px;
    cursor:pointer;
    transition:0.3s;
}

.lang-btn:hover{
    background:#1d4ed8;
}

.delete-btn{
    background:#dc2626;
    color:white;
    border:none;
    padding:8px 12px;
    border-radius:8px;
    cursor:pointer;
}

/* =========================
FORMS
========================= */

input,
select,
textarea{
    width:100%;
    padding:12px;
    margin-bottom:12px;
    border:none;
    border-radius:10px;
    background:#1e293b;
    color:white;
}

.top-form{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(200px,1fr));
    gap:15px;
    align-items:end;
}

/* =========================
CARDS
========================= */

.card{
    background:#111827;
    border-radius:20px;
    padding:20px;
    box-shadow:
    0 4px 12px rgba(0,0,0,0.3);
}

/* =========================
ROOMS GRID
========================= */

.rooms-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(330px,1fr));
    gap:22px;
    margin-top:25px;
}

/* =========================
ROOM CARD
========================= */

.room-card{
    background:#0f172a;
    border-radius:22px;
    padding:22px;
    box-shadow:
    0 4px 15px rgba(0,0,0,0.35);
}

.room-card h2{
    margin-bottom:14px;
    font-size:30px;
}

.room-card p{
    margin-bottom:10px;
    color:#d1d5db;
}

.room-ready{
    border:3px solid #22c55e;
}

.room-dirty{
    border:3px solid #ef4444;
}

.room-maintenance{
    border:3px solid #f59e0b;
}

/* =========================
ROOM ITEMS
========================= */

.room-subtitle{
    margin-top:20px;
    margin-bottom:15px;
}

.item-row{
    display:flex;
    justify-content:space-between;
    background:#1e293b;
    padding:10px;
    border-radius:10px;
    margin-bottom:10px;
}

/* =========================
CHARTS
========================= */

.chart-container{
    width:100%;
    height:350px;
}

/* =========================
TABLES
========================= */

table{
    width:100%;
    border-collapse:collapse;
    margin-top:20px;
}

table th{
    background:#1e293b;
    padding:15px;
    text-align:left;
}

table td{
    padding:15px;
    border-bottom:
    1px solid #374151;
}

/* =========================
RESPONSIVE
========================= */

@media(max-width:900px){

    .sidebar{
        width:100%;
        height:auto;
        position:relative;
    }

    .main-content{
        margin-left:0;
    }

}