:root {
    --smartstay-primary: #0f766e;
    --smartstay-secondary: #164e63;
    --smartstay-font: system-ui;
    --smartstay-radius: 8px;
}

.smartstay-search,
.smartstay-booking-form,
.smartstay-dashboard,
.smartstay-rooms-grid {
    font-family: var(--smartstay-font);
}

.smartstay-search__form,
.smartstay-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border: 1px solid #dbe4ea;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.smartstay-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.smartstay-field--full {
    grid-column: 1 / -1;
}

.smartstay-field input,
.smartstay-field select,
.smartstay-field textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: var(--smartstay-radius);
    padding: 12px 14px;
    background: #ffffff;
    box-sizing: border-box;
}

.smartstay-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.smartstay-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--smartstay-radius);
    background: var(--smartstay-primary);
    color: #ffffff;
    padding: 12px 18px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
}

.smartstay-button--secondary {
    background: var(--smartstay-secondary);
}

.smartstay-rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.smartstay-room-card {
    background: #ffffff;
    border: 1px solid #dbe4ea;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.smartstay-room-card__image {
    min-height: 220px;
    background-size: cover;
    background-position: center;
}

.smartstay-room-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.16), rgba(22, 78, 99, 0.2)),
        linear-gradient(180deg, #e2f5f2, #dbeafe);
    color: #0f172a;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.smartstay-room-card__content {
    padding: 20px;
}

.smartstay-room-card__amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.smartstay-room-card__amenities span {
    background: #ecfeff;
    color: #155e75;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
}

.smartstay-dashboard-table table {
    width: 100%;
    border-collapse: collapse;
}

.smartstay-dashboard-table th,
.smartstay-dashboard-table td {
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 12px;
    text-align: left;
}

.smartstay-form-message {
    margin-top: 16px;
    font-weight: 600;
}

.smartstay-booking-selected-room,
.smartstay-empty-state {
    margin-bottom: 18px;
    padding: 16px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    background: #ffffff;
}

.smartstay-empty-state strong {
    display: block;
    margin-bottom: 6px;
}

.smartstay-empty-state p {
    margin: 0;
    color: #475569;
}

@media (max-width: 768px) {
    .smartstay-search__form,
    .smartstay-form-grid {
        grid-template-columns: 1fr;
    }
}
