* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    color: #2c3e50;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 24px;
}

h1 {
    margin: 0 0 24px;
    text-align: center;
    font-size: 34px;
    line-height: 1.2;
    color: #22313f;
}

h2 {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.3;
    color: #2c3e50;
}

p {
    margin: 0 0 12px;
    color: #556371;
    font-size: 16px;
    line-height: 1.5;
}

.hero {
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    margin-bottom: 28px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.hero h2 {
    margin-top: 18px;
}

.hero h2:first-child {
    margin-top: 0;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 12px 0 8px;
}

.inline-form {
    margin: 0;
}

.btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 8px;
    background: #2c7be5;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #1f6ad0;
}

.btn-small {
    padding: 6px 10px;
    font-size: 13px;
}

.btn-secondary {
    background: #28a745;
}

.btn-secondary:hover {
    background: #5a6773;
}

section {
    margin-bottom: 28px;
}

#rooms {
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.edit-form {
    background: #ffffff;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 16px;
}

.form-grid label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #2c3e50;
}

.form-grid input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    font-size: 14px;
}

.form-actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .container {
        padding: 16px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 21px;
    }

    .hero,
    #rooms {
        padding: 16px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}
