.search-results {
    display: none;
    padding: 60px 0;
    background: #f8f9fa;
    min-height: 60vh;
}

.search-results.active {
    display: block;
}

.search-header {
    text-align: center;
    margin-bottom: 40px;
}

.search-title {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.search-count {
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0;
}

/* No Results State */
.no-results {
    background: white;
    border-radius: 12px;
    padding: 60px 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.no-results i {
    margin-bottom: 20px;
    opacity: 0.6;
}

.no-results h4 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.no-results p {
    color: #6c757d;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Search Result Cards */
.search-results .card {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.search-results .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.search-results .card-title {
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.3;
}

.search-results .card-text {
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Availability Badges */
.badge.bg-success {
    background-color: #28a745 !important;
}

.badge.bg-danger {
    background-color: #dc3545 !important;
}

.position-absolute.top-0.end-0 {
    top: 0.5rem !important;
    right: 0.5rem !important;
}

/* Loading State */
.spinner-border {
    width: 3rem;
    height: 3rem;
    color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-results {
        padding: 30px 0;
    }

    .search-title {
        font-size: 1.5rem;
    }

    .search-count {
        font-size: 1rem;
    }

    .search-results .col-lg-4 {
        margin-bottom: 20px;
    }

    .no-results {
        padding: 40px 20px;
    }
}

/* Button Styles Enhancement */
.search-results .btn {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.search-results .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.search-results .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

/* Card Image Styling */
.search-results .card img {
    transition: transform 0.3s ease;
}

.search-results .card:hover img {
    transform: scale(1.05);
}

/* Badge Improvements */
.search-results .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
}

.bg-label-primary {
    background-color: rgba(0, 123, 255, 0.1) !important;
    color: #007bff !important;
}

.bg-label-secondary {
    background-color: rgba(108, 117, 125, 0.1) !important;
    color: #6c757d !important;
}

.tenant-section {
    margin-bottom: 60px;
    padding: 10px 0;
}

.tenant-section .content-title {
    text-align: center;
    color: #ff0000;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.tenant-subtitle {
    text-align: center;
    color: #6c757d;
    font-size: 1.1rem;
    margin-left: auto;
    margin-right: auto;
}

/* Masonry Container */
.tenant-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

/* Individual Tenant Card */
.tenant-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    cursor: pointer;
    width: 100%;
}

.tenant-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 0, 0, 0.1), rgba(255, 0, 0, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.tenant-card:hover::before {
    opacity: 1;
}

.tenant-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Tenant Logo */
.tenant-logo {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tenant-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tenant-card:hover .tenant-logo img {
    transform: scale(1.1);
}

/* Tenant Information */
.tenant-info {
    padding: 20px;
    position: relative;
    z-index: 2;
}

.tenant-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.3;
    min-height: 50px;
    display: flex;
    align-items: center;
}

.tenant-category {
    color: #ff0000;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    min-height: 20px;
}

.tenant-description {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 15px;
    min-height: 60px;
}

/* Tenant Stats (optional) */
.tenant-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #e9ecef;
    margin-top: 12px;
}

.tenant-stat {
    text-align: center;
    flex: 1;
}

.tenant-stat-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ff0000;
    display: block;
}

.tenant-stat-label {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hover Effects */
.tenant-card:hover .tenant-name {
    color: #ff0000;
}

.tenant-card:hover .tenant-category {
    color: #2c3e50;
}

/* Special Cards - Featured */
.tenant-card.featured {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: white;
}

.tenant-card.featured .tenant-name,
.tenant-card.featured .tenant-category {
    color: white;
}

.tenant-card.featured .tenant-description {
    color: rgba(255, 255, 255, 0.9);
}

.tenant-card.featured .tenant-stat-number {
    color: white;
}

.tenant-card.featured .tenant-stat-label {
    color: rgba(255, 255, 255, 0.8);
}

.tenant-card.featured .tenant-stats {
    border-top-color: rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .tenant-masonry {
        column-count: 3;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .tenant-masonry {
        column-count: 2;
        column-gap: 15px;
        padding: 0 10px;
    }

    .tenant-card {
        margin-bottom: 15px;
    }

    .tenant-info {
        padding: 15px;
    }

    .tenant-section .content-title {
        font-size: 2rem;
    }

    .tenant-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .tenant-masonry {
        column-count: 1;
    }

    .tenant-section .content-title {
        font-size: 1.8rem;
    }
}

.sub-section .btn-sewa {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    width: 30%;
    text-align: center;
}

.sub-section .btn-sewa:hover {
    background: linear-gradient(135deg, #cc0000, #990000);
    color: white;
    text-decoration: none;
}

.room-section {
    margin-bottom: 80px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 60px;
}

.room-section:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.content-title {
    color: #ff0000;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.content-text {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

.content-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.see-more-btn {
    background: #ff0000;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.see-more-btn:hover {
    background: #cc0000;
}

.see-more-btn.see-less {
    background: #666;
    color: white;
}

.see-more-btn.see-less:hover {
    background: #555;
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-arrow.rotated {
    transform: rotate(180deg);
}

/* Room sub-sections shared styles */
.room-sub-sections {
    display: none;
    margin-top: 20px;
}

.sub-section {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.sub-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.sub-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
    /* Prevent long titles from causing horizontal overflow */
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.sub-image {
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    height: 200px;
    width: 100%;
    max-width: 100%;
    display: block;
}

.sub-building,
.sub-capacity {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0 0 8px 0;
}

.sub-building i,
.sub-capacity i {
    color: #b61614;
    width: 16px;
    margin-right: 8px;
}

.sub-text {
    flex: 1;
    margin-top: auto;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    /* Ensure description wraps and doesn't push card sideways */
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Menu Gallery Styles */
.menu-gallery-section {
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.menu-gallery-section h5 {
    font-size: 1.5rem;
    /* Dikurangi dari 2.2rem */
    font-weight: 600;
    /* Dikurangi dari 700 */
    color: #2c3e50;
    margin: 0 0 10px 0;
    /* Tambah margin bottom */
    text-align: left;
    /* Align kiri */
}

/* Tambah deskripsi untuk menu gallery */
.menu-gallery-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: left;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.menu-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.menu-image {
    width: 100%;
    height: 500px;
    max-height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.menu-card:hover .menu-image {
    transform: scale(1.05);
}

.menu-info {
    padding: 18px;
    /* Dikurangi dari 20px */
}

.menu-name {
    font-size: 1.1rem;
    /* Dikurangi dari 1.3rem */
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.menu-description {
    color: #666;
    font-size: 0.85rem;
    /* Dikurangi dari 0.95rem */
    line-height: 1.5;
}

/* Modal Styles - Updated */
.modal-content {
    border: none;
    border-radius: 15px;
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    padding: 20px 20px 15px;
    /* Dikurangi dari 25px */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-weight: 600;
    /* Dikurangi dari 700 */
    font-size: 1.4rem;
    /* Tambahkan ukuran yang konsisten */
    color: #2c3e50;
    margin: 0;
}

.modal-body {
    padding: 15px 20px 20px;
    /* Dikurangi dari 20px 25px 25px */
}

.modal-menu-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    /* Dikurangi dari 20px */
}

.modal-description {
    color: #666;
    font-size: 14px;
    /* Konsisten dengan yang lain */
    line-height: 1.6;
    margin: 0;
}

/* Custom close button */
.btn-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    /* Dikurangi dari 1.5rem */
    opacity: 0.6;
    padding: 0;
    width: 20px;
    /* Dikurangi dari 24px */
    height: 20px;
    /* Dikurangi dari 24px */
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: none !important;
}

.btn-close:hover {
    opacity: 1;
}

.btn-close::before {
    content: '×';
    font-size: 20px;
    /* Dikurangi dari 24px */
    line-height: 1;
}

/* Responsive design */
@media (max-width: 768px) {
    .menu-gallery-section h5 {
        font-size: 1.3rem;
        /* Dikurangi dari 1.8rem */
        text-align: left;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .menu-image {
        height: 180px;
        /* Dikurangi untuk mobile */
    }

    .menu-info {
        padding: 15px;
    }

    .menu-name {
        font-size: 1rem;
    }

    .menu-description {
        font-size: 0.8rem;
    }
}

/* Carousel styles */
.room-carousel-container {
    position: relative;
}

.carousel-header {
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.carousel-title {
    color: #2c3e50;
    font-weight: 600;
    margin: 0;
}

.carousel-controls {
    display: flex;
    gap: 10px;
    z-index: 10;

}

/* Mobile responsive */
@media (max-width: 768px) {
    .carousel-header {
        flex-direction: column;
        gap: 15px;
        align-items: center !important;
    }

    .carousel-controls {
        order: 2;
    }
}


.carousel-btn {
    background: #b61614;
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: #9a1412;
    transform: scale(1.1);
}

.carousel-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.room-carousel-wrapper {
    overflow: hidden;
    position: relative;
    cursor: grab;
}

.room-carousel-wrapper:active {
    cursor: grabbing;
}

.room-carousel {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

.room-slide {
    /* Fix slide width to avoid content pushing layout sideways */
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
}

/* Grid layout for <= 3 items */
.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .room-slide {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .room-slide {
        flex: 0 0 calc(100% - 10px);
        max-width: calc(100% - 10px);
    }

    .carousel-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start !important;
    }

    .room-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Device Section specific image sizing to reduce cropping */
#device-section .sub-image {
    height: 240px;
}

@media (max-width: 992px) {
    #device-section .sub-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    #device-section .sub-image {
        height: 180px;
    }
}

.tab-container {
    position: relative;
    min-height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/image.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 60px;
    padding-bottom: 30px;
}

.hero-content {
    text-align: center;
    padding: 20px 20px 20px;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
    line-height: 1.6;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-content {
        padding: 30px 15px 40px;
    }

    .tab-container {
        padding-top: 40px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-content {
        padding: 25px 15px 35px;
    }
}

/* Main Tabs - Original Design */
.main-tabs {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    padding: 20px 0 10px 0;
    flex-wrap: wrap;
}

.main-tab {
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 15px 30px;
    font-weight: 600;
    text-align: center;
    min-width: 180px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.main-tab:first-child {
    border-radius: 25px 0 0 0;
}

.main-tab:last-child {
    border-radius: 0 25px 0 0;
}

.main-tab.active {
    background: #ff0000;
    color: white;
}

.main-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.2);
}

.tab-icon {
    width: 20px;
    height: 20px;
}

/* Tab border bottom line */
.tab-border-line {
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    width: 100%;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

/* Secondary tabs */
.secondary-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-bottom: 30px;
    flex-wrap: wrap;
}

.secondary-tab {
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.secondary-tab.active {
    background: #ff0000;
    color: white;
}

.secondary-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.2);
}

.secondary-icon {
    width: 16px;
    height: 16px;
}

/* Form section headers */
.form-headers {
    max-width: 1200px;
    margin: 0 auto 10px auto;
    display: flex;
    padding: 0 20px;
}

.form-header {
    flex: 1;
    min-width: 0;
    color: white;
    font-size: 14px;
    font-weight: 500;
    padding: 0 15px;
    text-align: left;
}

.form-header:last-of-type {
    flex: 0 0 200px;
}

/* Booking form */
.booking-form {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0;
}

.form-section {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-right: 1px solid #e0e0e0;
    min-height: 60px;
}

.form-section:last-of-type {
    border-right: none;
    flex: 0 0 auto;
    padding: 5px;
}

.form-icon {
    width: 20px;
    height: 20px;
    color: #ff0000;
    margin-right: 12px;
    flex-shrink: 0;
}

.form-input {
    flex: 1;
    border: none;
    background: transparent;
    color: #666;
    font-size: 14px;
    outline: none;
    width: 100%;
}

.form-input::placeholder {
    color: #999;
    font-size: 14px;
}

/* Dropdown styling */
.form-dropdown {
    flex: 1;
    border: none;
    background: transparent;
    color: #666;
    font-size: 14px;
    outline: none;
    width: 100%;
    appearance: none;
    cursor: pointer;
}

.form-dropdown option {
    background: white;
    color: #333;
}

.search-btn {
    background: #ff0000;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0 20px;
    height: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #cc0000;
}

.search-icon {
    width: 20px;
    height: 20px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Search Results Styling */
.search-results {
    background: white;
    padding: 40px 0;
    display: none;
}

.search-results.active {
    display: block;
}

.search-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 20px;
}

.search-title {
    color: #333;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.search-count {
    color: #666;
    font-size: 16px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-results h4 {
    color: #333;
    margin-bottom: 15px;
}

.no-results .btn {
    background: #ff0000;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.no-results .btn:hover {
    background: #cc0000;
}

/* Room Card Styling (matching katalog ruangan) */
.room-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.room-card:hover {
    transform: translateY(-5px);
}

.room-card .card-body {
    padding: 20px;
}

.room-image {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.room-name {
    color: #333;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
}

.room-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.room-details {
    color: #333;
    font-size: 12px;
    margin-bottom: 5px;
}

.btn-rent {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 15px;
}

.btn-rent:hover {
    background: #218838;
}

/* Login required message */
.login-required {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    padding: 12px;
    margin-top: 10px;
    font-size: 12px;
    text-align: center;
}

.login-required a {
    color: #721c24;
    text-decoration: underline;
    font-weight: bold;
}

.login-required a:hover {
    color: #491217;
}

@media (max-width: 768px) {
    .main-tabs {
        flex-direction: column;
        gap: 0;
        align-items: center;
    }

    .main-tab {
        border-radius: 0 !important;
        min-width: 300px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .main-tab:first-child {
        border-radius: 25px 25px 0 0 !important;
    }

    .main-tab:last-child {
        border-radius: 0 0 25px 25px !important;
        border-bottom: none;
    }

    .tab-border-line {
        display: none;
    }

    .secondary-tabs {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .secondary-tab {
        min-width: 200px;
        justify-content: center;
    }

    .form-headers {
        display: none;
    }

    .booking-form {
        flex-direction: column;
        border-radius: 20px;
        padding: 20px;
        gap: 15px;
    }

    .form-section {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding: 15px 0;
        width: 100%;
    }

    .form-section:last-of-type {
        border-bottom: none;
        padding: 10px 0;
        align-self: center;
    }
}

/* Content Section Styles */
.content-section {
    margin-bottom: 80px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 60px;
}

.content-section:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.content-title {
    color: #ff0000;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.content-text {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

.content-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.see-more-btn {
    background: #ff0000;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.see-more-btn:hover {
    background: #cc0000;
}

.see-more-btn.see-less {
    background: #666;
    color: white;
}

.see-more-btn.see-less:hover {
    background: #555;
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-arrow.rotated {
    transform: rotate(180deg);
}

.sub-section {
    text-align: left;
}

.sub-image {
    width:320px;
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    max-width: 100%;
    display: block;
}

.sub-title {
    color: #333;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    /* Prevent long titles from causing horizontal overflow */
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.sub-text {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    text-align: justify;
    /* Ensure description wraps and doesn't push card sideways */
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.tab-sub-sections {
    margin-top: 40px;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    display: none;
}

.tab-sub-sections.active {
    display: block;
}

.image-container {
    position: relative;
    display: inline-block;
    width: 100%;
    /* Ensure rounded corners always apply regardless of image aspect ratio */
    border-radius: 10px;
    overflow: hidden;
    background-color: #f8f9fa;
}

.price-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff1a1a, #fa6363);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
    white-space: nowrap;
}

.price-badge.free-badge {
    background: linear-gradient(135deg, #ffc107, #ffeb3b);
    color: #333;
}


.price-badge.style-2 {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.price-badge.style-3 {
    background: #28a745;
    transform: rotate(-5deg);
    border-radius: 5px;
}

.price-badge.style-4 {
    background: #007bff;
    border-radius: 0 0 0 15px;
    top: 0;
    right: 0;
}

.tenant-cp {
    color: #2c3e50;
    font-size: 0.8rem;
    margin: 0;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

.tenant-cp::before {
    content: "\260E";
    /* simbol telepon unicode */
    font-size: 0.9rem;
    color: #999;
    /* icon lebih soft */
}