/* LichCatDien Ward Sidebar Styles */
.itt-ward-container {
    position: relative;
}

.itt-ward-content {
    position: relative;
}

.itt-ward-sidebar {
    min-height: 200px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .itt-ward-sidebar.sidebar-left {
        position: absolute;
        top: 0;
        left: 0;
        width: 25%;
    }
    
    .itt-ward-sidebar.sidebar-right {
        position: absolute;
        top: 0;
        right: 0;
        width: 25%;
    }
}

.itt-sidebar-content {
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.itt-sidebar-content h4 {
    margin-top: 0;
    color: #333;
    font-size: 16px;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 5px;
}

.itt-ward-info p {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.4;
}

.itt-related-wards {
    list-style: none;
    padding: 0;
    margin: 0;
}

.itt-related-wards li {
    margin-bottom: 8px;
}

.itt-related-wards a {
    text-decoration: none;
    color: #0073aa;
    display: block;
    padding: 8px 10px;
    background: white;
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
    font-size: 14px;
}

.itt-related-wards a:hover {
    background: #f0f8ff;
    border-color: #0073aa;
    box-shadow: 0 1px 3px rgba(0,115,170,0.2);
}

/* Responsive adjustments for mobile */
@media (max-width: 767px) {
    .itt-ward-sidebar {
        position: static !important;
        width: 100% !important;
        margin-top: 20px;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .itt-ward-content {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

    .cur-icon {
    width:24px;
    height:24px;
    margin-right:6px;
    background:url(../images/currencies.png);
    background-position: 0 -774px;	
    }
    .ci-aud {
    background-position:0 0
    }
    .ci-cad {
    background-position:0 -32px
    }
    .ci-chf {
    background-position:0 -56px
    }
    .ci-cny {
    background-position:0 -80px
    }
    .ci-dkk {
    background-position:0 -104px
    }
    .ci-eur {
    background-position:0 -128px
    }
    .ci-gbp {
    background-position:0 -152px
    }
    .ci-hkd {
    background-position:0 -176px
    }
    .ci-inr {
    background-position:0 -200px
    }
    .ci-jpy {
    background-position:0 -224px
    }
    .ci-khr {
    background-position:0 -240px
    }
    .ci-krw {
    background-position:0 -272px
    }
    .ci-kwd {
    background-position:0 -296px
    }
    .ci-lak {
    background-position:0 -320px
    }
    .ci-myr {
    background-position:0 -344px
    }
    .ci-nok {
    background-position:0 -368px
    }
    .ci-nzd {
    background-position:0 -392px
    }
    .ci-php {
    background-position:0 -416px
    }
    .ci-rub {
    background-position:0 -440px
    }
    .ci-sar {
    background-position:0 -464px
    }
    .ci-sek {
    background-position:0 -488px
    }
    .ci-sgd {
    background-position:0 -512px
    }
    .ci-thb {
    background-position:0 -536px
    }
    .ci-twd {
    background-position:0 -552px
    }
    .ci-usd {
    background-position:0 -584px
    }
    .ci-vnd {
    background-position:0 -608px
    }
    .ci-idr {
    background-position:0 -632px
    }



    table.table {
        width: 100%;
        border-collapse: collapse;
        margin: 10px 0;
        font-size: 0.8rem;
        text-align: left;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        border-radius: 8px;
    }
        
    table.table th, table.table td {
        padding: 12px 15px;
    }
        
    table.table th {
        background-color: #4CAF50;
        color: white;
        font-weight: bold;
    }
    
    /* Custom table styles for LichCatDien module */
    .itt-table-wrapper {
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    table.table.itt-custom-table th {
        background-color: inherit;
    }
    
    table.table.itt-custom-table .itt-th {
        padding: 16px;
        font-weight: 600;
        border: none;
    }
    
    table.table.itt-custom-table tr {
        border-bottom: 1px solid #eee;
    }
    
    table.table.itt-custom-table td {
        padding: 16px;
        vertical-align: middle;
        border: none;
    }
    
    table.table.itt-custom-table td.itt-date {
        font-weight: 600;
        color: #007bff;
    }
    
    table.table.itt-custom-table td.itt-time {
        white-space: nowrap;
    }
    
    table.table.itt-custom-table td.itt-time span {
        background: #e9ecef;
        padding: 4px 8px;
        border-radius: 6px;
        font-weight: 500;
    }
    
    table.table.itt-custom-table td.itt-area {
        color: #333;
    }
    
    table.table.itt-custom-table td.itt-reason {
        color: #666;
        font-style: italic;
    }
    
    table.table.itt-custom-table td.itt-unit {
        color: #007bff;
        font-size: 0.9em;
    }
    
    .itt-view-more-wrapper {
        text-align: center;
        margin: 10px 0;
    }
    
    /* Ward specific styles */
    .itt-lichcatdien-ward {
        margin: 20px 0;
    }
    
    .itt-ward-title {
        font-size: 1.5rem;
        font-weight: bold;
        color: #333;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid #007bff;
    }
    
    .itt-ward-text-item {
        margin-bottom: 18px;
    }
    
    .itt-card-item {
        border-radius: 12px;
    }
    
    .itt-card-item .card-body {
        padding: 18px;
    }
    
    .itt-card-date {
        font-size: 1.1em;
        font-weight: 600;
        color: #007bff;
        margin-bottom: 6px;
    }
    
    .itt-card-time {
        font-size: 1em;
        color: #333;
        margin-bottom: 8px;
    }
    
    .itt-card-area {
        font-size: 1em;
        color: #444;
        margin-bottom: 6px;
    }
    
    .itt-card-reason {
        font-size: 0.97em;
        color: #888;
        font-style: italic;
    }
    
    .itt-card-unit {
        font-size: 0.9em;
        color: #007bff;
        margin-top: 8px;
    }
    
    /* Tabs styles */
    .itt-tabs-container {
        margin: 20px 0;
    }
    
    .itt-nav-tabs {
        border-bottom: 2px solid #dee2e6;
        margin-bottom: 20px;
    }
    
    .itt-nav-tabs .nav-link {
        color: #495057;
        background-color: transparent;
        border: 1px solid transparent;
        border-radius: 0.25rem 0.25rem 0 0;
        padding: 0.5rem 1rem;
        cursor: pointer;
    }
    
    .itt-nav-tabs .nav-link:hover {
        border-color: #e9ecef #e9ecef #dee2e6;
        color: #007bff;
    }
    
    .itt-nav-tabs .nav-link.active {
        color: #fff;
        background-color: #007bff;
        border-color: #007bff;
    }
    
    .itt-tab-content {
        padding: 20px;
        background: #f9f9f9;
        border-radius: 8px;
    }
    
    .itt-tab-item {
        background: white;
        padding: 15px;
        margin-bottom: 15px;
        border-radius: 8px;
        border-left: 4px solid #007bff;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .itt-tab-item:last-child {
        margin-bottom: 0;
    }
    
    .itt-tab-time {
        font-weight: 600;
        color: #333;
        margin-bottom: 8px;
    }
    
    .itt-tab-area {
        color: #444;
        margin-bottom: 6px;
    }
    
    .itt-tab-reason {
        color: #888;
        font-style: italic;
        font-size: 0.95em;
    }
    
    .itt-tab-unit {
        color: #007bff;
        font-size: 0.9em;
        margin-top: 8px;
    }
        
    table.table tr:nth-child(even) {
        background-color: #f2f2f2;
    }
        
    table.table tr:hover {
        background-color: #ddd;
    }
        
    table.table td {
        border-bottom: 1px solid #ddd;
    }
        
    .board-price .caption {
        font-size: 13px;
        margin: 5px;
        color: #333;
        text-align: right;
    }

    
    .board-price table img.image-16 {
        width: 60px;
    }
    
    .itt-pagination-coin__list {
        display: flex;
        justify-content: center;
        align-items: center;
        list-style: none;
        padding: 10px 0;
        gap: 5px;
      }
      
      .itt-pagination-coin__list li {
        text-decoration: none;
        color: #0073e6;
        font-size: 16px;
        padding: 8px 12px;
        border: 1px solid #0073e6;
        border-radius: 4px;
        transition: all 0.3s ease;
      }
      
      .itt-pagination-coin__list li:hover {
        background-color: #0073e6;
        color: white;
      }
      
      .itt-pagination-coin__list li.active {
        background-color: #0073e6;
        color: white;
        border-color: #005bb5;
      }
      
      .itt-pagination-coin__list li.disabled {
        color: #ccc;
        border-color: #ccc;
        pointer-events: none;
      }

      .itt-pagination-coin__list li.active a,.itt-pagination-coin__list li:hover a {
        
        color: white;
        
      }

      .img-coin-icon{
        width: 32px;
        height: 32px;
      }

      /* Styles for column layout with Bootstrap cards */
      .board-price .card {
        border: 1px solid #ddd;
        border-radius: 8px;
        transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
      }
      
      .board-price .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      }
      
      .board-price .card-header {
        background-color: #f8f9fa;
        border-bottom: 1px solid #ddd;
        padding: 1rem;
      }
      
      .board-price .card-body {
        padding: 1rem;
      }
      
      .board-price .card-title {
        font-size: 1.1rem;
        font-weight: bold;
        color: #333;
        margin-bottom: 0.5rem;
      }
      
      .board-price .card-text {
        color: #555;
        line-height: 1.4;
      }
      
      .board-price .card-text:last-child {
        margin-bottom: 0;
      }
      
      /* Responsive adjustments */
      @media (max-width: 768px) {
        .board-price .card {
          margin-bottom: 1rem;
        }
      }
      
      @media (max-width: 576px) {
        .board-price .card-header,
        .board-price .card-body {
          padding: 0.75rem;
        }
        
        .board-price .card-title {
          font-size: 1rem;
        }
      }

      /* Styles for studio grouping headings */
      .board-price h2 {
        font-size: 1.5rem;
        font-weight: bold;
        color: #333;
        margin-top: 2rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid #4CAF50;
        position: relative;
      }
      
      .board-price h2:first-child {
        margin-top: 0;
      }
      
      .board-price h2::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 60px;
        height: 3px;
        background-color: #2196F3;
      }
      
      /* Text format studio grouping */
      .board-price .group {
        margin-bottom: 2rem;
        padding: 1rem;
        background-color: #f9f9f9;
        border-radius: 8px;
        border-left: 4px solid #4CAF50;
      }
      
      .board-price .group div {
        background-color: white;
        margin-bottom: 1rem;
        padding: 1rem;
        border: 1px solid #ddd;
        border-radius: 4px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      }
      
      .board-price .group div:last-child {
        margin-bottom: 0;
      }

      /* Cinema link styles */
      .board-price .cinema-link {
        color: #2196F3;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s ease;
      }
      
      .board-price .cinema-link:hover {
        color: #1976D2;
        text-decoration: underline;
      }
      
      .board-price .card-title .cinema-link {
        color: #333;
        display: block;
      }
      
      .board-price .card-title .cinema-link:hover {
        color: #2196F3;
      }
      
      /* Table cinema link styles */
      .board-price table .cinema-link {
        color: inherit;
        font-weight: bold;
      }
      
      .board-price table .cinema-link:hover {
        color: #2196F3;
      }