* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f3f4f6;
}

/* HEADER */

header {
    background: #b30000;
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
}

.logo {
    position: absolute;
    left: 20px;
    top: 10px;
    width: 70px;
}

header h1 {
    font-size: 28px;
    line-height: 1.5;
}

/* CONTAINER */

.container {
    width: 95%;
    max-width: 1200px;
    margin: auto;
    padding: 20px 0;
}

/* DASHBOARD */

.dashboard-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.dashboard-title {
    font-size: 28px;
    color: #b30000;
    font-weight: bold;
}

/* BUTTON */

.btn {
    background: #b30000;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    transition: 0.3s;
}

.btn:hover {
    opacity: 0.9;
}

.btn-green {
    background: #008000;
}

.btn-blue {
    background: #005eff;
}

.btn-gray {
    background: #666;
}

/* ROOM CARD */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 18px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-top: 5px solid #b30000;
    transition: 0.3s;
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-icon {
    font-size: 45px;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    color: #b30000;
    margin-bottom: 10px;
}

.stat-title {
    color: #666;
    font-size: 16px;
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 26px;
    }
}
.room-card {
    background: white;
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-left: 6px solid #b30000;
    transition: 0.3s;
}

.room-card:hover {
    transform: translateY(-3px);
}

.room-card h2 {
    color: #b30000;
    margin-bottom: 10px;
}

.room-info {
    margin: 8px 0;
    color: #333;
}

.room-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* STATUS */

.status-open {
    color: green;
    font-weight: bold;
}

.status-lock {
    color: red;
    font-weight: bold;
}

/* FOOTER */

footer {
    background: #b30000;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
}

/* MOBILE */

@media (max-width: 768px) {
    header h1 {
        font-size: 20px;
    }

    .logo {
        width: 50px;
        top: 15px;
    }

    .dashboard-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-title {
        font-size: 22px;
    }

    .room-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}


