/*
Theme Name: SLA Travel Test Theme
Theme URI: https://example.com/
Author: SLA Travel Suite
Author URI: https://example.com/
Description: Lightweight testing theme for SLA Travel Suite plugin flows.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sla-ts-test
*/

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    color: #1d2327;
    background: #f4f5f6;
}

a {
    color: #2271b1;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #dfe1e4;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-weight: 600;
    font-size: 20px;
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 16px;
}

.site-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 24px 80px;
}

.hero {
    background: linear-gradient(135deg, #2271b1, #6b5aed);
    color: #fff;
    border-radius: 12px;
    padding: 40px 32px;
    margin-bottom: 40px;
}

.hero__inner h1 {
    margin: 0 0 12px;
    font-size: 32px;
}

.section-heading {
    margin-bottom: 24px;
}

.section-heading h2 {
    margin: 0 0 8px;
}

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

.catalog-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(18, 38, 63, 0.08);
    padding: 24px;
}

.catalog-card__body .catalog-item {
    border-bottom: 1px solid #eef0f2;
    padding: 16px 0;
}

.catalog-card__body .catalog-item:last-child {
    border-bottom: 0;
}

.catalog-card__body .catalog-item h4 {
    margin: 0 0 8px;
    font-size: 16px;
}

.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    background: #6b5aed;
    color: #fff;
}

.forms-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(18, 38, 63, 0.08);
}

.forms-table th,
.forms-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #eef0f2;
    text-align: left;
}

.status-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    background: #eef0f2;
}

.status-badge.status-active {
    background: #d4f4dd;
    color: #0d652d;
}

.sla-ts-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.sla-ts-status--ok {
    background: #d4f4dd;
    color: #0d652d;
}

.sla-ts-status--warning {
    background: #fff4ce;
    color: #8a6d1a;
}

.sla-ts-status--error {
    background: #fde0e0;
    color: #891111;
}

.sla-ts-status--info {
    background: #e2edff;
    color: #1d3f74;
}

.booking-form {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(18, 38, 63, 0.08);
    padding: 24px;
}

.booking-form__grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.booking-form label {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    gap: 6px;
}

.booking-form input,
.booking-form select {
    border: 1px solid #ccd0d4;
    border-radius: 6px;
    padding: 10px;
    font-size: 14px;
}

.booking-form__actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.booking-form .button-primary {
    background: #2271b1;
    border-color: #2271b1;
    color: #fff;
}

.booking-feedback {
    margin-top: 24px;
    padding: 16px 20px;
    border-radius: 8px;
    background: #eef0f2;
}

.booking-feedback.is-success {
    background: #d4f4dd;
    color: #0d652d;
}

.booking-feedback.is-error {
    background: #fde0e0;
    color: #891111;
}

.embedded-forms {
    margin-top: 80px;
}

.embedded-forms__grid {
    display: grid;
    gap: 32px;
}

.embedded-forms__item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    padding: 28px 32px;
}

.embedded-forms__header h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.embedded-forms__header p {
    margin: 0 0 20px;
    color: #475569;
}

.embedded-forms__item .sla-form-empty {
    text-align: center;
    padding: 24px 16px;
    border: 1px dashed #cbd5f5;
    border-radius: 10px;
    background: #f8fafc;
    color: #475569;
}

@media (min-width: 992px) {
    .embedded-forms__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.site-footer {
    background: #fff;
    border-top: 1px solid #dfe1e4;
    margin-top: 60px;
}

.site-footer__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
}

