body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    padding: 20px;
    color: #3a3a3a;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    color: #4a5568;
    margin-bottom: 30px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.room-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    border: 1px solid #e8ecf0;
}

.room-header {
    background: #5a7d9a;
    color: white;
    padding: 14px 15px;
    font-weight: 600;
    font-size: 1.05em;
    text-align: center;
    letter-spacing: 0.01em;
}

.room-beds {
    padding: 10px;
}

.bed-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #f0f2f5;
    transition: background-color 0.2s;
}

.bed-row:last-child {
    border-bottom: none;
}

.bed-row.selectable {
    background-color: #eef6f3;
    cursor: pointer;
    border: 2px dashed #6ba89b;
    border-radius: 6px;
}
.bed-row.selectable:hover {
    background-color: #dff0eb;
}

.bed-number {
    font-weight: 600;
    color: #8a94a0;
}

.btn-book {
    background: #6ba89b;
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    transition: background 0.2s;
}

.btn-book:hover {
    background: #5a9385;
}

.occupant-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.name {
    font-weight: 600;
    color: #3a4a5c;
}

.actions {
    display: flex;
    gap: 5px;
}

.btn-action {
    background: #f0f2f5;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    padding: 4px 8px;
    font-size: 0.9em;
    transition: background 0.2s;
}

.btn-action:hover {
    background: #dce0e6;
}

/* Move Overlay Banner */
.move-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: #d4a853;
    color: white;
    padding: 15px;
    text-align: center;
    z-index: 2000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.move-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-weight: 600;
    font-size: 1.1em;
}

.btn-cancel {
    background: #c27a5a;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
}
.btn-cancel:hover { background: #a8664a; }

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #ffffff;
    padding: 24px 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.modal h2 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #4a5568;
}
.subtitle { color: #8a94a0; font-size: 0.9em; margin-bottom: 20px; }

.close {
    color: #b0b8c4;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #4a5568;
    text-decoration: none;
    cursor: pointer;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.9em;
    color: #4a5568;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #d8dde4;
    border-radius: 6px;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #6ba89b;
    box-shadow: 0 0 0 2px rgba(107, 168, 155, 0.15);
}

.btn-submit {
    width: 100%;
    background: #5a7d9a;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    margin-top: 15px;
    transition: background 0.2s;
}

.btn-submit:hover {
    background: #4b6b84;
}
