/**
 * Travel Plugin Public Styles
 */

/* ===== General Styles ===== */
.travel-search-container,
.travel-results-container,
.travel-hotel-detail-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    color: #333;
}

/* ===== Search Form Styles ===== */
.travel-search-container {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.travel-search-form {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .travel-search-container {
        padding: 20px;
    }
    
    .travel-search-form {
        padding: 20px;
    }
}

.travel-search-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.travel-search-row:last-child {
    margin-bottom: 0;
}

.travel-search-filters-row {
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.travel-filter-field {
    flex: 1 1 120px;
    min-width: 120px;
}

.travel-search-field {
    flex: 1;
    min-width: 0;
}

.travel-destination-field {
    flex: 2;
    min-width: 0;
}

.travel-date-field {
    flex: 1;
    min-width: 0;
}

.travel-search-field label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.travel-search-field input,
.travel-search-field select {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
}

.travel-search-field input:focus,
.travel-search-field select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.travel-search-button {
    width: 100%;
    height: 100%;
    min-height: 54px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.travel-search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.travel-search-icon {
    font-size: 20px;
}

.travel-search-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 25px;
    color: white;
    font-size: 15px;
}

.travel-feature {
    display: flex;
    align-items: center;
    gap: 8px;
}

.travel-feature-icon {
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* ===== Results List Styles ===== */
.travel-results-container {
    padding: 20px 0;
}

.travel-results-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.travel-results-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px 0;
}

.travel-results-count {
    color: #6b7280;
    font-size: 16px;
    margin: 0 0 20px 0;
}

.travel-results-filters {
    display: flex;
    align-items: center;
    gap: 10px;
}

.travel-sort-select {
    padding: 10px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

/* Hotel Card */
.travel-hotel-card {
    display: flex;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.travel-hotel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.travel-hotel-image {
    position: relative;
    width: 260px;
    min-width: 0;
    min-height: 220px;
    flex-shrink: 1;
}

.travel-hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.travel-hotel-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #10b981;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.travel-hotel-content {
    display: flex;
    flex: 1;
    min-width: 0;
    padding: 20px;
}

.travel-hotel-main {
    flex: 1;
    min-width: 0;
    padding-right: 20px;
}

.travel-hotel-name {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.travel-hotel-name a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s;
}

.travel-hotel-name a:hover {
    color: #667eea;
}

.travel-hotel-location {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.travel-location-icon {
    font-size: 16px;
}

/* Star Rating Icons */
.travel-stars {
    display: inline-flex;
    gap: 2px;
    margin-bottom: 8px;
}

.travel-star {
    font-size: 16px;
    line-height: 1;
}

.travel-star-full {
    color: #f59e0b;
}

.travel-star-half {
    color: #f59e0b;
    opacity: 0.5;
}

.travel-star-empty {
    color: #d1d5db;
}

/* Hotel Dates & Meal */
.travel-hotel-dates,
.travel-hotel-meal {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #4b5563;
    margin-bottom: 8px;
}

.travel-nights-count {
    font-weight: 600;
    color: #667eea;
}

.travel-hotel-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.travel-rating-score {
    background: #667eea;
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
}

.travel-rating-text {
    font-weight: 600;
    color: #1f2937;
}

.travel-reviews-count {
    color: #6b7280;
    font-size: 14px;
}

.travel-hotel-description {
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.travel-hotel-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.travel-amenity-tag {
    background: #f3f4f6;
    color: #4b5563;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
}

.travel-amenity-more {
    color: #667eea;
    font-size: 13px;
    font-weight: 600;
}

.travel-hotel-booking {
    width: 180px;
    min-width: 0;
    flex-shrink: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-left: 1px solid #e5e7eb;
    padding-left: 20px;
}

.travel-price-container {
    text-align: right;
    margin-bottom: 5px;
}

.travel-price-currency {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.travel-price-amount {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
}

.travel-price-period {
    color: #6b7280;
    font-size: 14px;
}

.travel-price-note {
    text-align: right;
    color: #6b7280;
    font-size: 12px;
    margin-bottom: 20px;
}

.travel-view-button,
.travel-book-button {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.travel-view-button {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.travel-view-button:hover {
    background: #667eea;
    color: white;
}

.travel-book-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.travel-book-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Pagination */
.travel-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.travel-page-btn {
    padding: 10px 20px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.travel-page-btn:not(:disabled):hover {
    border-color: #667eea;
    color: #667eea;
}

.travel-page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.travel-page-numbers {
    color: #6b7280;
}

.travel-page-current {
    font-weight: 700;
    color: #1f2937;
}

/* ===== Hotel Detail Page Styles ===== */
.travel-hotel-detail-container {
    padding: 20px 0;
}

/* Breadcrumb */
.travel-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 14px;
    color: #6b7280;
}

.travel-breadcrumb a {
    color: #667eea;
    text-decoration: none;
}

.travel-breadcrumb a:hover {
    text-decoration: underline;
}

.travel-breadcrumb-separator {
    color: #9ca3af;
}

.travel-breadcrumb-current {
    color: #1f2937;
    font-weight: 500;
}

/* Hotel Header */
.travel-hotel-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.travel-hotel-detail-title h1 {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 12px 0;
}

.travel-hotel-detail-location {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6b7280;
}

.travel-show-map {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.travel-show-map:hover {
    text-decoration: underline;
}

.travel-hotel-detail-actions {
    display: flex;
    gap: 10px;
}

.travel-favorite-btn,
.travel-share-btn {
    padding: 10px 20px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.travel-favorite-btn:hover,
.travel-share-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

/* Gallery */
.travel-hotel-gallery {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
}

.travel-gallery-main {
    flex: 2;
    min-height: 400px;
}

.travel-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.travel-gallery-thumbnails {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.travel-gallery-thumb,
.travel-gallery-more {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.travel-gallery-thumb img,
.travel-gallery-more {
    width: 100%;
    height: 100%;
    min-height: 95px;
    object-fit: cover;
}

.travel-gallery-thumb.active::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid #667eea;
    border-radius: 8px;
}

.travel-gallery-more {
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

/* Detail Grid */
.travel-hotel-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 30px;
}

/* Rating Overview */
.travel-rating-overview {
    display: flex;
    gap: 30px;
    padding: 25px;
    background: #f9fafb;
    border-radius: 12px;
    margin-bottom: 35px;
}

.travel-rating-big {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    min-width: 120px;
}

.travel-rating-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: #667eea;
}

.travel-rating-label {
    font-size: 14px;
    color: #6b7280;
}

.travel-rating-details {
    flex: 1;
}

.travel-rating-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.travel-rating-bar span:first-child {
    width: 100px;
    font-size: 14px;
    color: #4b5563;
}

.travel-progress-bar {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.travel-progress-bar div {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 4px;
}

.travel-rating-bar span:last-child {
    width: 30px;
    text-align: right;
    font-weight: 600;
    color: #1f2937;
}

/* Sections */
.travel-hotel-description-section,
.travel-hotel-amenities-section,
.travel-property-info {
    margin-bottom: 35px;
}

.travel-hotel-description-section h2,
.travel-hotel-amenities-section h2,
.travel-property-info h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 20px 0;
}

.travel-hotel-description-section p {
    line-height: 1.8;
    color: #4b5563;
    font-size: 16px;
}

/* Amenities Grid */
.travel-amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.travel-amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4b5563;
}

.travel-amenity-check {
    color: #10b981;
    font-weight: 700;
}

/* Property Info */
.travel-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.travel-info-item {
    color: #4b5563;
}

.travel-info-item strong {
    color: #1f2937;
}

/* Booking Card */
.travel-hotel-detail-booking {
    position: sticky;
    top: 20px;
}

.travel-booking-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

.travel-booking-price {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e7eb;
}

.travel-booking-currency {
    font-size: 24px;
    font-weight: 600;
    vertical-align: top;
}

.travel-booking-amount {
    font-size: 48px;
    font-weight: 700;
    color: #1f2937;
}

.travel-booking-period {
    color: #6b7280;
}

.travel-booking-dates {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.travel-date-input label,
.travel-booking-guests label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.travel-date-input input,
.travel-booking-guests select {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
}

.travel-booking-guests {
    margin-bottom: 20px;
}

.travel-booking-summary {
    background: #f9fafb;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.travel-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #6b7280;
    font-size: 14px;
}

.travel-summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
    font-weight: 700;
    font-size: 18px;
    color: #1f2937;
}

.travel-reserve-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.travel-reserve-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.travel-booking-note {
    text-align: center;
    color: #10b981;
    font-size: 13px;
    margin: 15px 0 0 0;
}

/* Room Types */
.travel-room-types {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.travel-room-types h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #1f2937;
}

.travel-room-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 10px;
}

.travel-room-card:last-child {
    margin-bottom: 0;
}

.travel-room-info h4 {
    margin: 0 0 5px 0;
    font-size: 15px;
    color: #1f2937;
}

.travel-room-info p {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

.travel-room-price {
    text-align: right;
}

.travel-room-price span {
    display: block;
    font-weight: 700;
    font-size: 18px;
    color: #1f2937;
    margin-bottom: 8px;
}

.travel-room-price button {
    padding: 8px 16px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.travel-room-price button:hover {
    background: #5a6fd6;
}

/* ===== Responsive Styles ===== */

/* Laptop screens (1200px and below) */
@media (max-width: 1200px) {
    .travel-destination-field {
        flex: 1 1 100%;
        min-width: 100%;
        margin-bottom: 10px;
    }
    
    .travel-date-field {
        flex: 1 1 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 1024px) {
    .travel-search-row {
        flex-wrap: wrap;
    }
    
    .travel-search-field,
    .travel-destination-field,
    .travel-date-field,
    .travel-filter-field {
        flex: 1 1 calc(50% - 10px);
    }
    
    .travel-hotel-card {
        flex-direction: column;
    }
    
    .travel-hotel-image {
        width: 100%;
        height: 250px;
    }
    
    .travel-hotel-content {
        flex-direction: column;
    }
    
    .travel-hotel-main {
        padding-right: 0;
        padding-bottom: 20px;
    }
    
    .travel-hotel-booking {
        width: 100%;
        border-left: none;
        border-top: 1px solid #e5e7eb;
        padding-left: 0;
        padding-top: 20px;
        flex-direction: row;
        align-items: center;
    }
    
    .travel-hotel-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .travel-hotel-detail-booking {
        position: static;
    }
}

@media (max-width: 768px) {
    .travel-search-container {
        padding: 20px;
    }
    
    .travel-search-form {
        padding: 20px;
    }
    
    .travel-search-field,
    .travel-destination-field,
    .travel-date-field,
    .travel-filter-field {
        flex: 1 1 100%;
        min-width: 100%;
    }
    
    .travel-search-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .travel-hotel-gallery {
        flex-direction: column;
    }
    
    .travel-gallery-main {
        min-height: 250px;
    }
    
    .travel-gallery-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .travel-rating-overview {
        flex-direction: column;
    }
    
    .travel-amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .travel-info-grid {
        grid-template-columns: 1fr;
    }
    
    .travel-hotel-detail-header {
        flex-direction: column;
    }
    
    .travel-hotel-detail-actions {
        margin-top: 15px;
    }
}
