@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500&display=swap');

:root{
    --primary:#0f172a;
    --secondary:#1e293b;
    --accent:#38bdf8;
    --bg:#f1f5f9;
}

body{
    font-family: 'Ubuntu', sans-serif;
    margin: 0;
    background: linear-gradient(to right, #e0f2fe, #f8fafc);
}

/* 🔷 NAVBAR */
.navigation{
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 1rem;
    text-align: center;
}

.nav-brand{
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

/* 🔷 MAIN CARD */
.container{
    width:90%;
    max-width:900px;
    margin: 40px auto;
    padding: 20px;

    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* 🔷 STATE BOX */
.state-box{
    text-align: center;
    background: #e0f2fe;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* 🔷 SECTION TITLE */
.section-title{
    text-align: center;
    margin: 20px 0 10px;
    color: var(--secondary);
}

/* 🔷 ROW */
.row{
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* 🔷 ROOM CARD */
.room-card{
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    background: #f8fafc;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.room-card:hover{
    transform: scale(1.05);
}

/* 🔷 IMAGES */
img{
    width: 70px;
    margin-bottom: 10px;
}

/* 🔷 BUTTONS */
.btn{
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn:hover{
    transform: scale(1.05);
}

.reset{
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.fsm-table{
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.fsm-table th, .fsm-table td{
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}

.fsm-table th{
    background-color: #0f172a;
    color: white;
}

.fsm-table tr:nth-child(even){
    background-color: #f1f5f9;
}