.tac-control-wrap {
    max-width: 960px;
    margin: 0 auto;
    font-family: inherit;
}

/* heading */
.tac-title {
    color: #E40404;
    margin-bottom: 8px;
}
.tac-intro {
    margin-bottom: 20px;
}

/* main fieldset (num rooms) */
.tac-fieldset-main {
    background: #94dbfc;
    padding: 18px;
    border: none;
    border-radius: 4px;
    margin-bottom: 24px;
    font-size: 1.1rem;
}
.tac-fieldset-main label {
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* large select for num rooms */
.tac-select-large {
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 20px;
    background-color: #e41c23;
    color: #fff;
    border: none;
    cursor: pointer;
    letter-spacing: 0.05em;
}

/* room cards grid */
.tac-rooms-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-bottom: 32px;
}

.tac-room-card {
    flex: 1 1 calc(50% - 28px);
    min-width: 280px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.tac-room-inner {
    padding: 24px;
}
.tac-room-inner h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

/* field groups inside rooms */
.tac-field-group {
    margin-bottom: 22px;
}
.tac-field-group label {
    display: block;
    margin-bottom: 6px;
}

/* standard select */
.tac-select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95rem;
}

/* text input */
.tac-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95rem;
    box-sizing: border-box;
}

/* separator */
.tac-hr {
    margin: 24px 0;
    border: none;
    border-top: 1px solid #ddd;
}

/* submit row */
.tac-submit-row {
    margin-top: 28px;
    margin-bottom: 28px;
}

.tac-button-primary {
    padding: 16px 48px;
    border-radius: 6px;
    font-size: 1.15rem;
    font-weight: 700;
    background-color: #e41c23;
    color: #fff;
    border: none;
    cursor: pointer;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(228,28,35,0.35);
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
}
.tac-button-primary:hover:not(:disabled) {
    background-color: #b01019;
    box-shadow: 0 6px 16px rgba(228,28,35,0.45);
    transform: translateY(-1px);
}
.tac-button-primary:disabled {
    background-color: #ccc;
    color: #888;
    box-shadow: none;
    cursor: not-allowed;
}

/* state messages */
.tac-loading,
.tac-info {
    padding: 14px 16px;
    border-radius: 6px;
    background: #f7f7f7;
    color: #555;
    margin: 12px 0;
}

.tac-error {
    padding: 14px 16px;
    border-radius: 6px;
    background: #fff1f1;
    border: 1px solid #f1c0c0;
    color: #b21f2d;
    margin: 12px 0;
}

.tac-error-combo {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 6px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    display: none;
}

/* results */
.tac-results-box {
    margin-top: 30px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.tac-results-box h3 {
    margin-top: 0;
    color: #E40404;
}

.tac-results-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 18px;
}
.tac-results-table th,
.tac-results-table td {
    padding: 10px 14px;
    border: 1px solid #ddd;
    text-align: left;
}
.tac-results-table thead {
    background: #f5f5f5;
    font-weight: 600;
}

.tac-results-ext {
    margin-bottom: 14px;
    font-size: 1.05rem;
}

.tac-blockquote {
    border-left: 4px solid #94dbfc;
    padding: 10px 16px;
    margin: 16px 0 0;
    background: #f7fdff;
    color: #444;
    font-size: 0.95rem;
}

/* responsive */
@media (max-width: 600px) {
    .tac-room-card { flex: 1 1 100%; }
}
