/* Tulive Housing Frontend Styles
   Design Reference: tulive.webpoet.eu
   Primary: #E8821A (Orange)
   Text: #1A1A1A
   Background: #FFFFFF
   Font: Inter, sans-serif
*/

:root {
    --tulive-primary: #E8821A;
    --tulive-primary-hover: #d07318;
    --tulive-primary-light: rgba(232, 130, 26, 0.1);
    --tulive-text: #1A1A1A;
    --tulive-text-light: #666666;
    --tulive-bg: #FFFFFF;
    --tulive-bg-light: #F8F9FA;
    --tulive-border: #E5E7EB;
    --tulive-radius: 10px;
    --tulive-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --tulive-shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* ========== Typography ========== */
.tulive-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--tulive-text);
    line-height: 1.6;
}

.tulive-container h1,
.tulive-container h2,
.tulive-container h3 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--tulive-text);
}

/* ========== Hero Search Bar ========== */
.tulive-search-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tulive-search-form {
    display: flex;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 12px 12px 12px 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    gap: 0;
    backdrop-filter: blur(10px);
}

.tulive-search-field {
    flex: 1;
    min-width: 0;
    padding: 8px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tulive-search-field-price {
    flex: 1.3;
}

.tulive-search-field label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--tulive-text);
    margin-bottom: 4px;
    white-space: nowrap;
}

.tulive-search-icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.tulive-search-icon svg {
    display: block;
}

.tulive-search-field input,
.tulive-search-field select {
    width: 100%;
    padding: 8px 10px;
    border: 1.5px solid var(--tulive-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    color: var(--tulive-text);
    background: #fff;
    transition: border-color 0.2s;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.tulive-search-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

.tulive-search-field input:focus,
.tulive-search-field select:focus {
    outline: none;
    border-color: #E8821A;
    box-shadow: 0 0 0 3px rgba(232, 130, 26, 0.1);
}

.tulive-search-field input::placeholder {
    color: #aaa;
}

.tulive-search-price-inputs {
    display: flex;
    gap: 8px;
}

.tulive-search-price-inputs input {
    width: 50%;
}

.tulive-search-divider {
    width: 1px;
    background: var(--tulive-border);
    margin: 8px 0;
    flex-shrink: 0;
}

.tulive-search-btn {
    flex-shrink: 0;
    padding: 14px 32px !important;
    background: #E8821A !important;
    color: #fff !important;
    border: 2px solid #E8821A !important;
    border-radius: 12px !important;
    font-family: inherit;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    align-self: center;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
}

.tulive-search-btn:hover {
    background: #d07318 !important;
    border-color: #d07318 !important;
}

/* Search bar responsive */
@media (max-width: 992px) {
    .tulive-search-form {
        flex-wrap: wrap;
        padding: 16px;
        gap: 4px;
    }

    .tulive-search-field {
        flex: 1 1 calc(50% - 20px);
        min-width: 140px;
        padding: 8px;
    }

    .tulive-search-divider {
        display: none;
    }

    .tulive-search-btn {
        width: 100%;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .tulive-search-field {
        flex: 1 1 100%;
    }
}

/* ========== Buttons ========== */
.tulive-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.tulive-btn-primary,
.tulive-container .tulive-btn-primary,
button.tulive-btn-primary,
a.tulive-btn-primary,
input[type="submit"].tulive-btn-primary {
    background: #E8821A !important;
    color: #fff !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.tulive-btn-primary:hover,
.tulive-container .tulive-btn-primary:hover,
button.tulive-btn-primary:hover,
a.tulive-btn-primary:hover,
input[type="submit"].tulive-btn-primary:hover {
    background: #d07318 !important;
    color: #fff !important;
    border: none !important;
    outline: none !important;
    box-shadow: 0 4px 12px rgba(232, 130, 26, 0.3) !important;
    transform: translateY(-1px);
}

.tulive-btn-primary:focus,
.tulive-btn-primary:active {
    background: #d07318 !important;
    color: #fff !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Force override for theme/Elementor button borders */
.tulive-filter-box button,
.tulive-filter-box button[type="submit"],
.tulive-filter-box .tulive-btn,
.tulive-reservation-form button,
.tulive-reservation-form button[type="submit"],
.tulive-container button.tulive-btn-primary,
.elementor-widget-shortcode button.tulive-btn-primary {
    background-color: #E8821A !important;
    color: #fff !important;
    border: 2px solid #E8821A !important;
    border-color: #E8821A !important;
    outline: 0 !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

.tulive-filter-box button:hover,
.tulive-filter-box button[type="submit"]:hover,
.tulive-reservation-form button:hover,
.tulive-container button.tulive-btn-primary:hover,
.elementor-widget-shortcode button.tulive-btn-primary:hover {
    background-color: #d07318 !important;
    border-color: #d07318 !important;
}

.tulive-btn-outline {
    background: transparent;
    color: var(--tulive-primary);
    border: 2px solid var(--tulive-primary);
}

.tulive-btn-outline:hover {
    background: var(--tulive-primary);
    color: #fff;
}

.tulive-btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.tulive-btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* ========== Listings Grid ========== */
.tulive-listings-page {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.tulive-listings-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.tulive-listings-content {
    flex: 1;
}

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

/* Listing Card */
.tulive-listing-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: none;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.tulive-listing-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.tulive-listing-card a.tulive-listing-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.tulive-listing-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.tulive-listing-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tulive-listing-card:hover .tulive-listing-card-image img {
    transform: scale(1.05);
}

.tulive-listing-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #E8821A;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.tulive-listing-card-body {
    padding: 16px 20px;
}

.tulive-listing-card-title {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 4px;
    color: #1A1A1A;
}

.tulive-listing-card-title a {
    color: inherit;
    text-decoration: none;
}

.tulive-listing-card-title a:hover {
    color: inherit;
}

.tulive-listing-card-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    color: #888;
    font-size: 13px;
    margin: 8px 0 12px;
}

.tulive-listing-card-price {
    font-size: 22px;
    font-weight: 700;
    color: #E8821A;
}

.tulive-listing-card-price span {
    font-size: 14px;
    font-weight: 400;
    color: #888;
}

.tulive-listing-card-inclusive {
    color: #999;
    font-size: 13px;
    margin-top: 2px;
}

/* ========== Filter Sidebar ========== */
.tulive-filter-box {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
}

.tulive-filter-box h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px;
    padding-bottom: 0;
    border-bottom: none;
}

.tulive-filter-group {
    margin-bottom: 18px;
}

.tulive-filter-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 6px;
}

.tulive-filter-group select,
.tulive-filter-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #E5E7EB;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.tulive-filter-group select:focus,
.tulive-filter-group input:focus {
    outline: none;
    border-color: var(--tulive-primary);
    box-shadow: 0 0 0 3px var(--tulive-primary-light);
}

.tulive-filter-reset {
    width: 100%;
    border: 1.5px solid #E5E7EB;
    background: #fff;
    color: #666;
    border-radius: 8px;
    padding: 10px;
    margin-top: 16px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.tulive-filter-reset:hover {
    border-color: #ccc;
    color: #333;
}

.tulive-price-range {
    display: flex;
    gap: 10px;
    align-items: center;
}

.tulive-price-range input {
    width: calc(50% - 10px);
}

/* ========== Single Listing ========== */
.tulive-single-listing {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.tulive-back-link {
    display: inline-block;
    color: #E8821A;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.tulive-back-link:hover {
    opacity: 0.8;
}

.tulive-single-header {
    margin-bottom: 30px;
}

.tulive-single-title {
    font-size: 28px;
    margin-bottom: 8px;
}

.tulive-single-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--tulive-text-light);
    font-size: 16px;
}

.tulive-single-content {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
}

/* Image Gallery */
.tulive-gallery {
    margin-bottom: 24px;
}

.tulive-gallery-main {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

.tulive-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.tulive-gallery-thumb {
    height: 110px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border-color 0.2s;
}

.tulive-gallery-thumb.active,
.tulive-gallery-thumb:hover {
    border-color: #E8821A;
}

.tulive-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Info Sidebar */
.tulive-listing-sidebar {
    position: sticky;
    top: 30px;
}

.tulive-booking-box {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    border: none;
}

.tulive-booking-price {
    font-size: 32px;
    font-weight: 700;
    color: #E8821A;
    margin-bottom: 4px;
}

.tulive-booking-price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--tulive-text-light);
}

.tulive-booking-inclusive {
    display: inline-block;
    background: rgba(232, 130, 26, 0.12);
    color: #E8821A;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin: 8px 0 16px;
}

.tulive-booking-details {
    margin: 16px 0;
    padding: 0;
    border-top: none;
    border-bottom: none;
}

.tulive-booking-detail-row {
    display: flex;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    color: #555;
}

.tulive-booking-detail-row .detail-icon {
    color: #E8821A;
    flex-shrink: 0;
}

.tulive-booking-detail-row .label {
    color: #555;
}

.tulive-booking-detail-row .value {
    font-weight: 600;
}

.tulive-booking-apply-btn {
    width: 100%;
    background: #E8821A;
    color: #fff;
    border: 2px solid #E8821A;
    border-radius: 10px;
    padding: 14px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.tulive-booking-apply-btn:hover {
    background: #d07318;
    border-color: #d07318;
}

.tulive-booking-box .tulive-btn {
    width: 100%;
    margin-top: 20px;
}

.tulive-booking-note {
    text-align: center;
    color: #999;
    font-size: 13px;
    margin-top: 10px;
}

/* Description & Amenities */
.tulive-section {
    margin-bottom: 30px;
}

.tulive-section h2 {
    font-size: 20px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--tulive-bg-light);
}

/* What's Included Grid */
.tulive-amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.tulive-amenity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--tulive-text);
}

.tulive-amenity-icon {
    color: #E8821A;
    font-size: 18px;
    flex-shrink: 0;
}

/* House Rules Card */
.tulive-house-rules {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
    margin-top: 20px;
}

/* FAQ Accordion */
.tulive-faq-item {
    border-bottom: 1px solid #eee;
    padding: 16px 0;
    cursor: pointer;
}

.tulive-faq-item:last-child {
    border-bottom: none;
}

.tulive-faq-question {
    font-weight: 500;
    font-size: 15px;
    color: var(--tulive-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tulive-faq-answer {
    padding-top: 10px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Calendar */
.tulive-calendar-wrapper {
    background: var(--tulive-bg);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.tulive-calendar-legend {
    display: flex;
    gap: 20px;
    margin-top: 12px;
    font-size: 13px;
}

.tulive-calendar-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tulive-calendar-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

/* ========== Reservation Form ========== */
.tulive-reservation-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: var(--tulive-bg);
    border-radius: var(--tulive-radius);
    box-shadow: var(--tulive-shadow);
}

.tulive-form-group {
    margin-bottom: 20px;
}

.tulive-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--tulive-text);
}

.tulive-form-group label .required {
    color: var(--tulive-primary);
}

.tulive-form-group input,
.tulive-form-group select,
.tulive-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--tulive-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.tulive-form-group input:focus,
.tulive-form-group select:focus,
.tulive-form-group textarea:focus {
    outline: none;
    border-color: var(--tulive-primary);
    box-shadow: 0 0 0 3px var(--tulive-primary-light);
}

.tulive-form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.tulive-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tulive-form-error {
    color: #d9534f;
    font-size: 13px;
    margin-top: 4px;
}

.tulive-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.tulive-form-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

/* ========== User Account ========== */
.tulive-reservations-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tulive-reservation-card {
    background: var(--tulive-bg);
    border-radius: var(--tulive-radius);
    padding: 20px;
    box-shadow: var(--tulive-shadow);
    border: 1px solid var(--tulive-border);
}

.tulive-reservation-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.tulive-reservation-card-title {
    font-size: 16px;
    font-weight: 700;
}

.tulive-reservation-card-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    font-size: 14px;
}

.tulive-reservation-card-actions {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--tulive-border);
    display: flex;
    gap: 10px;
}

/* ========== Document Upload ========== */
.tulive-upload-area {
    border: 2px dashed var(--tulive-border);
    border-radius: var(--tulive-radius);
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--tulive-bg-light);
}

.tulive-upload-area:hover,
.tulive-upload-area.dragover {
    border-color: var(--tulive-primary);
    background: var(--tulive-primary-light);
}

.tulive-upload-area p {
    margin: 8px 0;
    color: var(--tulive-text-light);
}

.tulive-upload-area .upload-icon {
    font-size: 48px;
    color: var(--tulive-primary);
    margin-bottom: 10px;
}

.tulive-upload-progress {
    margin-top: 16px;
}

.tulive-upload-progress-bar {
    height: 6px;
    background: var(--tulive-bg-light);
    border-radius: 3px;
    overflow: hidden;
}

.tulive-upload-progress-fill {
    height: 100%;
    background: var(--tulive-primary);
    border-radius: 3px;
    transition: width 0.3s;
}

/* ========== Status Badge ========== */
.tulive-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

/* ========== Messages ========== */
.tulive-message {
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.tulive-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.tulive-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.tulive-message-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ========== No Results ========== */
.tulive-no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--tulive-text-light);
}

.tulive-no-results h3 {
    color: var(--tulive-text-light);
    margin-bottom: 8px;
}

/* ========== Apply / Reservation Form ========== */
.tulive-apply-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 60px;
    font-family: 'Inter', -apple-system, sans-serif;
}

.tulive-apply-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.tulive-apply-form-col {
    flex: 1;
    min-width: 0;
}

.tulive-apply-sidebar-col {
    width: 380px;
    flex-shrink: 0;
    position: sticky;
    top: 30px;
}

.tulive-apply-title {
    font-size: 26px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 8px;
}

.tulive-apply-subtitle {
    color: #666;
    font-size: 15px;
    margin-bottom: 24px;
}

.tulive-apply-login-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(232, 130, 26, 0.08);
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #555;
}

.tulive-apply-login-notice a {
    color: #E8821A;
    font-weight: 600;
}

/* Form Sections */
.tulive-form-section {
    margin-bottom: 28px;
}

.tulive-form-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #F0F0F0;
}

.tulive-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.tulive-form-group {
    margin-bottom: 0;
}

.tulive-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.tulive-form-group label .required {
    color: #E8821A;
}

.tulive-form-group input,
.tulive-form-group select,
.tulive-form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #E5E7EB;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.tulive-form-group input:focus,
.tulive-form-group select:focus,
.tulive-form-group textarea:focus {
    outline: none;
    border-color: #E8821A;
    box-shadow: 0 0 0 3px rgba(232, 130, 26, 0.1);
}

.tulive-form-group input::placeholder,
.tulive-form-group textarea::placeholder {
    color: #aaa;
}

.tulive-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.tulive-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

.tulive-form-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    accent-color: #E8821A;
}

.tulive-form-checkbox a {
    color: #E8821A;
}

/* Submit Button */
.tulive-apply-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 32px;
    background: #E8821A !important;
    color: #fff !important;
    border: 2px solid #E8821A !important;
    border-radius: 12px !important;
    font-family: inherit;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background 0.2s;
    outline: none !important;
    box-shadow: none !important;
}

.tulive-apply-submit:hover {
    background: #d07318 !important;
    border-color: #d07318 !important;
}

/* Room Summary Card (Sidebar) */
.tulive-apply-room-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.tulive-apply-room-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.tulive-apply-room-info {
    padding: 20px 24px;
}

.tulive-apply-room-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 12px;
}

.tulive-apply-room-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    margin-bottom: 6px;
}

.tulive-apply-room-price-box {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #F0F0F0;
}

.tulive-apply-room-price {
    font-size: 28px;
    font-weight: 700;
    color: #E8821A;
}

.tulive-apply-room-price span {
    font-size: 14px;
    font-weight: 400;
    color: #888;
}

.tulive-apply-room-inclusive {
    font-size: 13px;
    color: #999;
    margin-top: 2px;
}

.tulive-apply-cost-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: #555;
    border-top: 1px solid #F8F8F8;
}

.tulive-apply-cost-row:first-of-type {
    margin-top: 12px;
}

/* Price Estimate */
.tulive-apply-estimate {
    background: rgba(232, 130, 26, 0.06);
    padding: 16px 24px;
    text-align: center;
}

.tulive-apply-estimate-label {
    font-size: 13px;
    color: #888;
    margin-bottom: 4px;
}

.tulive-apply-estimate-price {
    font-size: 24px;
    font-weight: 700;
    color: #E8821A;
}

/* Process Steps */
.tulive-apply-process {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    padding: 24px;
    margin-top: 20px;
}

.tulive-apply-process h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 18px;
}

.tulive-apply-step {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.tulive-apply-step:last-child {
    margin-bottom: 0;
}

.tulive-apply-step-num {
    width: 32px;
    height: 32px;
    background: #E8821A;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.tulive-apply-step strong {
    display: block;
    font-size: 14px;
    color: #1A1A1A;
    margin-bottom: 2px;
}

.tulive-apply-step p {
    font-size: 13px;
    color: #888;
    margin: 0;
}

/* ========== WooCommerce Checkout Override ========== */
/* Make WooCommerce checkout match the Tulive design */
body.woocommerce-checkout .woocommerce {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: 'Inter', -apple-system, sans-serif;
}

body.woocommerce-checkout .woocommerce h3,
body.woocommerce-checkout .woocommerce h2 {
    font-weight: 700;
    color: #1A1A1A;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row {
    margin-bottom: 16px;
}

body.woocommerce-checkout .woocommerce input[type="text"],
body.woocommerce-checkout .woocommerce input[type="email"],
body.woocommerce-checkout .woocommerce input[type="tel"],
body.woocommerce-checkout .woocommerce input[type="number"],
body.woocommerce-checkout .woocommerce select,
body.woocommerce-checkout .woocommerce textarea,
body.woocommerce-checkout .woocommerce .select2-selection {
    padding: 12px 14px !important;
    border: 1.5px solid #E5E7EB !important;
    border-radius: 10px !important;
    font-family: inherit !important;
    font-size: 14px !important;
    transition: border-color 0.2s !important;
    background: #fff !important;
}

body.woocommerce-checkout .woocommerce input:focus,
body.woocommerce-checkout .woocommerce select:focus,
body.woocommerce-checkout .woocommerce textarea:focus {
    border-color: #E8821A !important;
    box-shadow: 0 0 0 3px rgba(232, 130, 26, 0.1) !important;
    outline: none !important;
}

body.woocommerce-checkout .woocommerce .select2-container--default .select2-selection--single {
    height: auto !important;
    border: 1.5px solid #E5E7EB !important;
    border-radius: 10px !important;
}

body.woocommerce-checkout .woocommerce table.shop_table {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
}

body.woocommerce-checkout .woocommerce table.shop_table th {
    background: #F8F9FA;
    font-weight: 600;
    color: #1A1A1A;
}

body.woocommerce-checkout .woocommerce table.shop_table td,
body.woocommerce-checkout .woocommerce table.shop_table th {
    padding: 14px 16px;
    border-color: #F0F0F0;
}

body.woocommerce-checkout .woocommerce .order-total .amount {
    color: #E8821A;
    font-size: 22px;
    font-weight: 700;
}

body.woocommerce-checkout #payment {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    padding: 24px;
}

body.woocommerce-checkout #payment .payment_methods {
    border-bottom: 1px solid #F0F0F0;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

body.woocommerce-checkout #payment .payment_methods li {
    padding: 12px 0;
}

body.woocommerce-checkout #payment .payment_methods li label {
    font-weight: 500;
    color: #333;
}

body.woocommerce-checkout #place_order {
    background: #E8821A !important;
    color: #fff !important;
    border: 2px solid #E8821A !important;
    border-radius: 12px !important;
    padding: 15px 40px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s;
    outline: none !important;
    box-shadow: none !important;
}

body.woocommerce-checkout #place_order:hover {
    background: #d07318 !important;
    border-color: #d07318 !important;
}

/* WooCommerce Order Received / Thank You page */
body.woocommerce-order-received .woocommerce {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Inter', -apple-system, sans-serif;
}

body.woocommerce-order-received .woocommerce-thankyou-order-received {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

/* WooCommerce Pay page (payment link) */
body.woocommerce-checkout.woocommerce-order-pay .woocommerce {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px 20px;
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
    .tulive-apply-layout {
        flex-direction: column;
    }

    .tulive-apply-sidebar-col {
        width: 100%;
        position: static;
        order: -1;
    }

    .tulive-single-content {
        grid-template-columns: 1fr;
    }

    .tulive-listing-sidebar {
        position: static;
    }

    .tulive-gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .tulive-gallery-thumb {
        height: 80px;
    }

    .tulive-amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .tulive-listings-page {
        flex-direction: column;
    }

    .tulive-listings-sidebar {
        width: 100%;
    }

    .tulive-listings-grid {
        grid-template-columns: 1fr;
    }

    .tulive-listing-card-image {
        height: 200px;
    }

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

    .tulive-gallery-main {
        max-height: 300px;
    }

    .tulive-gallery-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }

    .tulive-gallery-thumb {
        height: 70px;
    }

    .tulive-single-title {
        font-size: 22px;
    }

    .tulive-amenities-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .tulive-booking-box {
        padding: 18px;
    }

    .tulive-booking-price {
        font-size: 26px;
    }

    .tulive-reservation-form {
        padding: 20px;
    }

    .tulive-gallery-thumbs {
        grid-template-columns: repeat(2, 1fr);
    }

    .tulive-listing-card-meta {
        flex-wrap: wrap;
        gap: 8px;
    }
}
