:root{
    --primary-color: #086db5;
}


.btn-evaluete {
    width: 300px !important;
    height: 50px !important;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;


}

.btn-evaluete:hover {
    cursor: pointer;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 500;
}

.btn-evaluete svg {
    width: 30px;
    height: 30px;
    fill: var(--primary-color);
    margin-right: 10px;
}


.document-section {
    margin: 20px 0;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }

  .section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
  }

  .section-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.2rem;
  }

  .document-list {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 5px;
  }

  .doc-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    gap: 12px;
    transition: background-color 0.2s;
  }

  .doc-item:hover {
    background-color: #f8f9fa;
  }

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

  .doc-icon {
    font-size: 20px;
    flex-shrink: 0;
    opacity: 0.7;
  }

  .doc-info {
    flex: 1;
    min-width: 0;
  }

  .doc-type {
    font-weight: 600;
    color: #444;
    margin-bottom: 4px;
    font-size: 0.95rem;
  }

  .doc-name {
    color: #666;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .view-btn {
    padding: 5px 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 0.9rem;
    opacity: 0.9;
    transition: opacity 0.2s;
  }

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

  /* Custom scrollbar */
  .document-list::-webkit-scrollbar {
    width: 8px;
  }

  .document-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
  }

  .document-list::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 4px;
  }

  .document-list::-webkit-scrollbar-thumb:hover {
    background: #999;
  }

  .document-section {
    margin: 20px 0;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }

  .section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
  }

  .document-list {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 5px;
  }

  .doc-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #eee;
    gap: 12px;
    animation: fadeIn 0.3s ease;
  }

  .doc-info {
    flex: 1;
    min-width: 0;
  }

  .doc-type {
    font-weight: 600;
    color: #444;
    margin-bottom: 4px;
  }

  .doc-name {
    color: #666;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .view-btn {
    padding: 6px 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }

  .loading-state {
    text-align: center;
    padding: 20px;
    display: none;
  }

  .spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
  }

  .section-header svg {
    fill: var(--primary-color);
   }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }


  .collection-summary {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
  }

  .collection-stats {
    margin: 20px 0;
  }

  .stat-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }

  .stat-value {
    font-weight: bold;
    color: #2c3e50;
  }

  .view-detail-btn {
    width: 100%;
    margin-top: 15px;
  }

  .collection-timeline {
    max-height: 500px;
    overflow-y: auto;
  }

  .timeline-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
  }

  .timeline-date {
    min-width: 100px;
    font-weight: bold;
  }

  .timeline-content {
    flex-grow: 1;
    margin-left: 20px;
  }

  .timeline-weight {
    font-size: 1.2em;
    color: #2c3e50;
  }

  .timeline-details {
    display: flex;
    gap: 20px;
    color: #666;
    margin-top: 5px;
  }

  .rating-section i {
    color: #ffd700;
  }

@media (max-width: 768px) {
    .home-section {
        padding: 10px;
        overflow-x: hidden;
    }

    .content-01, .content-02 {
        margin: 10px 0 !important;
        padding: 15px;
        border-right: none;
        width: 100%;
    }

    .row-content {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 15px;
        width: 100%;
    }

    .header-lable {
        min-width: 100% !important;
        margin-bottom: 5px;
        font-size: 14px;
        height: auto !important;
    }

    .text-content {
        min-width: 100% !important;
        height: auto !important;
        font-size: 14px;
        padding-left: 10px;
    }

    .header-lable--link {
        width: 100%;
        padding: 10px;
        margin: 5px 0;
        border: 1px solid #ccc;
        border-radius: 5px;
        display: block;
    }

    .row-address {
        padding: 10px 0;
    }

    .address {
        padding: 10px;
        font-size: 14px;
        line-height: 1.5;
    }

    .header-content--02 {
        margin: 15px 0 !important;
    }

    .header-content--02 svg {
        width: 20px;
        height: 20px;
    }

    .header-02 {
        font-size: 16px;
        margin-left: 8px;
    }

    .row {
        margin: 15px 0 !important;
    }
}

@media (max-width: 480px) {
    .home-section {
        padding: 5px;
    }

    .content-01, .content-02 {
        padding: 10px;
    }

    .header-02 {
        font-size: 15px;
    }

    .header-lable,
    .text-content,
    .address {
        font-size: 13px;
    }

    .header-content--02 svg {
        width: 18px;
        height: 18px;
    }

    .btn-evaluete {
        width: 100% !important;
        height: 45px !important;
        margin: 10px 0;
    }

    .btn-evaluete svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .home-section {
        height: auto;
        min-height: 100vh;
    }

    .row {
        margin: 10px 0 !important;
    }

    .content-01, .content-02 {
        margin: 5px 0 !important;
    }
}


/* .content-02 {
    padding: 20px;
    margin: 15px 0;
} */

.row-content {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.header-lable {
    min-width: 150px;
    font-weight: 500;
}

.text-content {
    flex: 1;
}

.header-content--02 {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.header-content--02 svg {
    width: 25px;
    height: 25px;
    margin-right: 10px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .table-responsive-sm {
        overflow-x: auto;
    }

    .table {
        min-width: 600px; /* Đảm bảo bảng có thể scroll ngang */
    }

    .row-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-lable {
        min-width: 100%;
        margin-bottom: 5px;
    }

    .text-content {
        width: 100%;
        padding-left: 10px;
    }

    .btn-evaluete {
        width: 100% !important;
        margin: 10px 15px;
    }
}

@media (max-width: 576px) {
    .content-02 {
        padding: 10px;
    }

    .header-content--02 {
        margin-bottom: 15px;
    }

    .header-content--02 svg {
        width: 20px;
        height: 20px;
    }

    .header-02 {
        font-size: 16px;
    }

    .row {
        margin: 10px 0 !important;
    }

    .table-responsive-sm {
        margin: 0 -15px; /* Mở rộng vùng scroll */
    }

    /* Điều chỉnh padding cho vùng danh sách */
    div[style*="padding: 0 50px"] {
        padding: 0 15px !important;
    }
}

/* Thêm styles cho DataTables responsive */
@media (max-width: 768px) {
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        text-align: left;
        margin-bottom: 10px;
    }

    .dataTables_wrapper .dataTables_length select {
        width: 100px;
    }

    .dataTables_wrapper .dataTables_filter input {
        width: calc(100% - 60px);
        margin-left: 5px;
    }
}

.customer-care-section {
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.care-card {
  background: linear-gradient(145deg, #ffffff, #f5f7fa);
  border-radius: 10px;
  padding: 25px;
  margin-top: 20px;
}

.care-representative {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 25px;
}

.rep-avatar {
  position: relative;
  flex-shrink: 0;
}

.rep-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 15px;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.rep-status {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.rep-status.online {
  background: #22c55e;
}

.rep-info {
  flex: 1;
}

.rep-name {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 5px 0;
}

.rep-position {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.rep-contact {
  display: grid;
  gap: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #64748b;
}

.contact-item i {
  width: 16px;
  color: var(--primary-color);
}

.care-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
  padding: 20px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  border: none;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
}

.call-btn {
  background: var(--primary-color);
  color: white;
}

.chat-btn {
  background: #f8fafc;
  color: #1e293b;
  border: 1px solid #e2e8f0;
}

.mail-btn {
  background: #f8fafc;
  color: #1e293b;
  border: 1px solid #e2e8f0;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}




@media (max-width: 768px) {
  .care-representative {
    flex-direction: column;
    text-align: center;
  }

  .rep-contact {
    justify-content: center;
  }

  .care-actions {
    grid-template-columns: 1fr;
  }

  .contact-item {
    justify-content: center;
  }
}

/* Styles chung cho cả 2 section */
/* .content-01, .content-02 {
  height: 100%;

} */

.header-content--02 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.header-content--02 svg {
  width: 24px;
  height: 24px;
  fill: var(--primary-color);
}

.header-02 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

/* Collection Summary Styles */
.collection-summary {
  padding: 20px;
}

.collection-stats {
  margin: 20px 0;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

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

.stat-label {
  color: #666;
  font-size: 14px;
}

.stat-value {
  font-weight: 500;
  color: #333;
}

.view-detail-btn {
  width: 100%;
  margin-top: 15px;
}

/* Customer Care Styles */
.customer-care-section {
  height: 100%;
}

.care-info {
  padding: 0 20px 20px 20px;
}

.care-name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 5px 0;
}

.care-position {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 15px;
}

.care-details {
  margin: 20px 0;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: #666;
}

.detail-item i {
  width: 16px;
  color: var(--primary-color);
}

.care-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.care-actions .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  font-size: 13px;
  white-space: nowrap;
}

.care-actions i {
  font-size: 14px;
}

.doc-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  color: #666;
  transition: all 0.2s ease;
  background: #f8f9fa;
}

.view-btn {
  color: var(--primary-color);
  background: rgba(8, 109, 181, 0.1);
}

.download-btn {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}

.action-btn:hover {
  transform: translateY(-2px);
}

.view-btn:hover {
  background: var(--primary-color);
  color: white;
}

.download-btn:hover {
  background: #22c55e;
  color: white;
}

.action-btn i {
  font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .care-actions {
    grid-template-columns: repeat(3, 1fr);
  }

  .care-actions .btn {
    padding: 8px 4px;
    font-size: 12px;
  }
}

@media (max-width: 992px) {
  .stat-item {
    flex-direction: column;
    gap: 5px;
    padding: 10px 0;
  }

  .stat-value {
    font-size: 16px;
  }

  .care-actions {
    grid-template-columns: 1fr;
  }

  .care-actions .btn {
    padding: 10px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .content-01, .content-02 {
    margin-bottom: 15px;
  }

  .header-content--02 {
    padding: 12px 15px;
  }

  .header-02 {
    font-size: 14px;
  }

  .collection-summary,
  .care-info {
    padding: 15px;
  }

  .stat-label,
  .stat-value {
    font-size: 13px;
  }

  .care-name {
    font-size: 16px;
  }

  .care-position {
    font-size: 12px;
    padding: 3px 10px;
  }

  .detail-item {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .header-content--02 svg {
    width: 20px;
    height: 20px;
  }

  .collection-stats {
    margin: 15px 0;
  }

  .stat-item {
    padding: 8px 0;
  }

  .care-actions {
    gap: 8px;
  }

  .care-actions .btn {
    padding: 8px;
    font-size: 13px;
  }

  .detail-item {
    padding: 6px 0;
  }
}

/* Fix cho màn hình siêu nhỏ */
@media (max-width: 360px) {
  .header-02 {
    font-size: 13px;
  }

  .care-actions .btn {
    font-size: 12px;
    padding: 6px;
  }

  .stat-label,
  .stat-value,
  .detail-item {
    font-size: 12px;
  }
}

/* Fix cho orientation landscape trên mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .content-01,
  .content-02 {
    margin-bottom: 10px;
  }

  .collection-stats,
  .care-details {
    margin: 10px 0;
  }

  .care-actions {
    grid-template-columns: repeat(3, 1fr);
  }
}

.care-content {
  padding: 0 20px 20px;
}

.care-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.care-text {
  flex: 1;
}

.care-avatar {
  position: relative;
  flex-shrink: 0;
}

.care-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.avatar-status {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.avatar-status.online {
  background: #22c55e;
}

/* Cập nhật responsive */
@media (max-width: 576px) {
  .care-main {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }

  .care-avatar {
    margin-bottom: 15px;
  }

  .care-avatar img {
    width: 100px;
    height: 100px;
  }

  .care-details {
    justify-content: center;
  }

  .detail-item {
    justify-content: center;
  }
}

/* Responsive styles */
@media (max-width: 768px) {
  .care-content {
    padding: 0 15px 15px;
  }

  .care-main {
    text-align: center;
  }

  .care-name {
    font-size: 16px;
  }

  .care-position {
    font-size: 12px;
    padding: 3px 10px;
  }

  .care-details {
    margin: 15px 0;
  }

  .detail-item {
    justify-content: center;
    font-size: 13px;
    padding: 6px 0;
  }

  .rating-share-section {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
  }

  .action-buttons {
    width: 100%;
    justify-content: center;
  }

  .btn-action {
    flex: 1;
    justify-content: center;
    max-width: 150px;
    font-size: 13px;
    padding: 5px 8px;
  }

  .care-actions {
    flex-direction: column;
    gap: 8px;
  }

  .care-actions .btn {
    width: 100%;
    margin: 0;
    padding: 8px;
    font-size: 13px;
  }


  .info-row:last-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    margin-top: 5px;
  }
}

/* Thêm styles cho màn hình siêu nhỏ */
@media (max-width: 375px) {
  .care-content {
    padding: 0 10px 10px;
  }

  .care-name {
    font-size: 15px;
  }

  .care-position {
    font-size: 11px;
  }

  .detail-item {
    font-size: 12px;
  }

  .btn-action {
    font-size: 12px;
    padding: 4px 6px;
  }

  .rating-score {
    font-size: 14px;
  }

  .action-buttons {
    gap: 5px;
  }
}

/* Thêm styles cho landscape mode */
@media (max-width: 768px) and (orientation: landscape) {
  .care-content {
    max-width: 600px;
    margin: 0 auto;
  }

  .rating-share-section {
    flex-direction: row;
  }

  .action-buttons {
    width: auto;
  }
}

.customer-care-section {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
}

.info-row {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  width: 120px;
  color: #666;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-label i {
  width: 16px;
  color: #086db5;
}

.info-value {
  flex: 1;
  font-size: 14px;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
}

.info-value a {
  color: #086db5;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}


.action-buttons {
  margin-left: auto;
  display: flex;
  gap: 10px;
}

.btn-action {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border: 1px solid #ddd;
  background: transparent;
  border-radius: 4px;
  color: #666;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 576px) {
  .customer-care-section {
    padding: 10px;
    box-shadow: none;
    background: transparent;
  }

  .info-row {
    padding: 8px 0;
  }

  .info-label {
    width: auto;
    min-width: 85px;
    font-size: 13px;
  }

  .info-value {
    font-size: 13px;
    text-align: right;
    max-width: 60%;
  }


  .info-row:last-child {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 5px;
  }

  .rating-section {
    font-size: 13px;
  }

  .action-buttons {
    margin-left: 0;
    gap: 15px;
  }

  .btn-action {
    padding: 4px 8px;
    font-size: 13px;
    border: none;
    min-width: auto;
  }
}

@media (max-width: 375px) {
  .info-label {
    font-size: 12px;
  }

  .info-value {
    font-size: 12px;
    max-width: 65%;
  }

  .btn-action {
    font-size: 12px;
    padding: 3px 6px;
  }

  .rating-score {
    font-size: 12px;
  }

  .action-buttons {
    gap: 12px;
  }
}

.flip-card-container {
  perspective: 1000px;
  width: 100%;
  min-height: 400px;
}

.flip-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card.flipped {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
}

.flip-card-back {
  transform: rotateY(180deg);
  display: flex;
  justify-content: center;
  align-items: center;
}

.rating-form {
  width: 100%;
  max-width: 500px;
  padding: 20px;
  text-align: center;
}

.close-rating {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  text-decoration: none;
}

.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}

.star-rating input {
  display: none;
}

.star-rating label {
  font-size: 30px;
  color: #ddd;
  cursor: pointer;
  transition: color 0.2s;
}

.star-rating input:checked ~ label {
  color: #ddd;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked + label,
.star-rating input:checked + label ~ label {
  color: #ffd700;
}

.feedback-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feedback-section textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  resize: vertical;
}

.submit-rating {
  display: inline-block;
  padding: 12px 24px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.submit-rating:hover {
  background: #065a94;
}

@media (max-width: 768px) {
  .flip-card-container {
    min-height: 500px;
  }

  .flip-card {
    min-height: 500px;
  }

  .star-rating label {
    font-size: 24px;
  }

  .feedback-section textarea {
    min-height: 100px;
  }
}

/* Modal styles */
.modal-xl {
  max-width: 90%;
}

.modal-content {
  border-radius: 8px;
  border: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.modal-header {
  border-bottom: 1px solid #eee;
  padding: 15px 20px;
}

.modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.btn-close {
  opacity: 0.5;
  transition: opacity 0.2s;
}

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

.modal-body {
  padding: 0;
}

#pdfViewer {
  background: #f5f5f5;
}

@media (max-width: 768px) {
  .modal-xl {
    max-width: 95%;
    margin: 10px;
  }

  .modal-title {
    font-size: 16px;
  }
}

.close-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #666;
  text-decoration: none;
  transition: all 0.2s ease;
  background: #f8f9fa;
}

.close-modal:hover {
  background: #e9ecef;
  color: #dc3545;
  transform: rotate(90deg);
}

.close-modal i {
  font-size: 16px;
}

/* Timeline styles */
.timeline-section {
  position: relative;
  background: #fff;
  border-radius: 8px;
  height: 100%;
  overflow: hidden;
}

.timeline {
  position: relative;
  padding: 20px 0;
  max-height: 500px;
  overflow-y: auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e2e8f0;
  z-index: 0;
}

.timeline-item {
  position: relative;
  padding-left: 45px;
  padding-bottom: 25px;
  z-index: 1;
}

.timeline-dot {
  position: absolute;
  left: 15px;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px rgba(8, 109, 181, 0.2);
  z-index: 2;
}

.timeline-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #64748b;
  margin-bottom: 8px;
}

.timeline-date i {
  color: var(--primary-color);
}

.timeline-content {
  background: #f8fafc;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.timeline-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 8px 0;
}

.timeline-content p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Custom scrollbar cho timeline */
.timeline::-webkit-scrollbar {
  width: 6px;
}

.timeline::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.timeline::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.timeline::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Responsive styles */
@media (max-width: 768px) {
  .timeline-section {
    padding: 15px;
    margin-top: 20px;
  }

  .timeline::before {
    left: 14px;
  }

  .timeline-item {
    padding-left: 35px;
  }

  .timeline-dot {
    left: 10px;
    width: 8px;
    height: 8px;
  }

  .timeline-content {
    padding: 12px;
  }

  .timeline-content h4 {
    font-size: 15px;
  }

  .timeline-content p {
    font-size: 13px;
  }
}

/* Timeline responsive styles */
@media (max-width: 992px) {
  .timeline-section {
    margin-top: 20px;
  }

  .timeline {
    max-height: 400px; /* Giảm chiều cao trên tablet */
  }
}

@media (max-width: 768px) {
    .flip-card-front,
    .flip-card-back,
    .rating-form {
      padding: 0px !important;
    }

    .col-md-7 form{
      padding: 0px !important;
    }

  .timeline-section {
    padding: 15px;
    margin: 15px 0;
  }

  .timeline {
    padding: 15px 0;
    max-height: 350px;
  }

  .timeline::before {
    left: 14px;
  }

  .timeline-item {
    padding-left: 35px;
    padding-bottom: 20px;
  }

  .timeline-dot {
    left: 10px;
    width: 8px;
    height: 8px;
  }

  .timeline-date {
    font-size: 13px;
  }

  .timeline-content {
    padding: 12px;
  }

  .timeline-content h4 {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .timeline-content p {
    font-size: 13px;
    line-height: 1.4;
  }

  .header-content--02 {
    padding: 12px;
  }

  .header-content--02 svg {
    width: 20px;
    height: 20px;
  }

  .header-02 {
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  .timeline-section {
    padding: 10px;
    margin: 10px 0;
    border-radius: 6px;
  }

  .timeline {
    max-height: 300px;
    padding: 10px 0;
  }

  .timeline-item {
    padding-left: 30px;
    padding-bottom: 15px;
  }

  .timeline-dot {
    left: 8px;
    width: 6px;
    height: 6px;
  }

  .timeline-date {
    font-size: 12px;
    gap: 5px;
  }

  .timeline-date i {
    font-size: 14px;
  }

  .timeline-content {
    padding: 10px;
  }

  .timeline-content h4 {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .timeline-content p {
    font-size: 12px;
    line-height: 1.3;
  }

  .header-content--02 {
    padding: 10px;
    margin-bottom: 10px;
  }

  .header-content--02 svg {
    width: 18px;
    height: 18px;
  }

  .header-02 {
    font-size: 14px;
  }
}

/* Landscape mode */
@media (max-width: 768px) and (orientation: landscape) {
  .timeline-section {
    max-height: calc(100vh - 100px);
    overflow: hidden;
  }

  .timeline {
    max-height: calc(100vh - 180px);
  }

  .timeline-item {
    padding-bottom: 15px;
  }
}

/* Cải thiện khả năng đọc trên màn hình nhỏ */
@media (max-width: 360px) {
  .timeline-section {
    padding: 8px;
  }

  .timeline {
    padding: 8px 0;
  }

  .timeline-item {
    padding-left: 25px;
  }

  .timeline-content {
    padding: 8px;
  }

  .timeline-content h4 {
    font-size: 12px;
  }

  .timeline-content p {
    font-size: 11px;
  }

  .header-02 {
    font-size: 13px;
  }
}


.payment-container {
  padding: 20px;
}


.payment-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-title i {
  font-size: 24px;
  color: #2196F3;
}

.payment-action {
  display: flex;
  justify-content: center;
}

.payment-button {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 12px 35px;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.payment-button i {
  font-size: 20px;
}

.payment-button:hover {
  background: #1976D2;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(33,150,243,0.2);
}

.payment-button span {
  display: inline-block;
}

.payment-button[data-tooltip]:before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 12px;
  background: rgba(0,0,0,0.8);
  color: white;
  font-size: 13px;
  border-radius: 4px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: all 0.2s ease;
  margin-bottom: 5px;
}

.payment-button[data-tooltip]:hover:before {
  visibility: visible;
  opacity: 1;
}

.container-img iframe {
  height: 600px;
}

@media screen and (max-width: 768px) {
  .payment-container {
      padding: 15px;
  }

  .payment-button {
      width: 100%;
      justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .payment-button {
      padding: 12px;
      width: auto;
  }

  .payment-button span {
      display: none;
  }

  .payment-button i {
      margin: 0;
      font-size: 24px;
  }

  .payment-button[data-tooltip]:before {
      content: attr(data-tooltip);
  }
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');


:root {
    --primary-color: #006db5;
}


body {
  font-family: "Roboto", sans-serif;
  font-size: 1em;
  color: #333;
  height: 100vh;
}
.select {
    width: 100%;
    cursor: pointer;
    position: relative;
    transition: 300ms;
    color: white;
    overflow: hidden;

  }

  .selected {
    background-color: #fff;
    padding: 5px;
    margin-bottom: 3px;
    border-radius: 5px;
    position: relative;
    z-index: 14;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #000;
    color: #000;
    width: auto;
    height: auto;
    max-width: 100%;
    height: 45px;
    padding: 12px 10px 10px 10px;

  }

  .arrow {
    position: relative;
    right: 0px;
    height: 10px;
    transform: rotate(-90deg);
    width: 25px;
    fill: #000;
    z-index: 100000;
    transition: 300ms;
  }

  .options {
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    padding: 5px;
    background-color: #fff;
    color: #000;
    position: relative;
    top: -100px;
    opacity: 0;
    transition: 300ms;
    border: 1px solid #ccc;
    z-index: 9;
  }

  .select:hover > .options {
    opacity: 1;
    top: 0;
  }

  .select:hover > .selected .arrow {
    transform: rotate(0deg);
  }

  .option {
    border-radius: 5px;
    padding: 5px;
    transition: 300ms;
    background-color: #fff;
    color: #000;
    width: 150px;
    font-size: 15px;
    z-index: 10;
  }
  .option:hover {
    background-color: #ccc;
  }

  .options input[type="radio"] {
    display: none;
  }

  .options label {
    display: inline-block;
  }
  .options label::before {
    content: attr(data-txt);
  }

  .options input[type="radio"]:checked + label {
    display: none;
  }

  .options input[type="radio"]#all:checked + label {
    display: none;
  }

  .select:has(.options input[type="radio"]#all:checked) .selected::before {
    content: attr(data-default);
  }
  .select:has(.options input[type="radio"]#option-1:checked) .selected::before {
    content: attr(data-one);
  }
  .select:has(.options input[type="radio"]#option-2:checked) .selected::before {
    content: attr(data-two);
  }
  .select:has(.options input[type="radio"]#option-3:checked) .selected::before {
    content: attr(data-three);
  }

  *, *::before, *::after {
    padding: 0;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    outline: none;
    user-select: none;
    -webkit-user-drag: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out, margin 0.3s ease;
    -webkit-transition: all 0.3s ease-in-out, margin 0.3s ease;
}


.input-container input[type="date"],
.input-container input[type="text"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
}


.input-container {
  display:flex;
  align-items: center;
  flex-direction: column;
  width: auto;
  height: auto;
  min-width: 217px;
  height: 45px;
  padding: 12px 10px 10px 10px;
  background: #fff;
  border-radius: 8px;
  filter: drop-shadow(0px 0px 3px #000);
  -webkit-filter: drop-shadow(0px 0px 3px #000);
  overflow: hidden;
  cursor: pointer;
}



.input-container input {
  position: relative;
  align-items: center;
  width: auto;
  height: auto;
  font-family: "Roboto", sans-serif;
  letter-spacing: 0.05em;
  line-height: 21px;
  text-transform: uppercase;
  margin-left: 0px;
}


.button-container {
  display:flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 197px;
  height: 50px;
  padding: 1px;
  padding-bottom: 2px;
  background: var(--primary-color);
  border-radius: 8px;
  overflow: hidden;
  cursor:pointer;
  margin-top: 30px;
}


.button-container .button {
  position: relative;
  width: 100%;
  min-height: 50px;
  height:auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: #fff;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.button-container .button.ok {
  background: var(--primary-color);
  color: #fff;
}

.reservation-box {
  display:flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  height: auto;
  padding:20px;
  border-radius: 7px;
  background-color: rgba(255,255,255,1);

}
.reservation-box .static {
  position:relative;
  float:left;
  width: 100%;
  margin-right: 20px;
}
.reservation-box .flex {
  position:relative;
  display: flex;
  float:left;
  flex-direction: table;
  align-items: center;
  gap:20px;
  width:auto;
}
.reservation-box .top {
  display: flex;
  flex-direction: table;
}
.reservation-box .bottom {
  position:relative;
  width: 100%;
  text-align: right;
}

.reservation-box .info {
  width: auto;
  color: #000;
  font-weight:500;
  text-decoration: none;
  text-align: right;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.reservation-box .info:hover,
.reservation-box .info:focus,
.reservation-box .info:active {
  color: #000;
  border-bottom: 2px solid #09f;
}


.reservation-box.small, .reservation-box.small .flex {
  flex-direction: column;
}
.reservation-box.small .top {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.reservation-box.small .static {
  margin-right: 0px;
}
.reservation-box.small .bottom {
  text-align: center;
}
.reservation-box.small .button-container {min-width: 217px;}

.btn-search {
    display: flex;
    align-items: flex-start;
    min-height: 50px;
    margin-top: 0;
    gap: 20px;
}
.btn-search::before {
    content: "";
    position: relative;


}

.title {
    color: #000;
    margin-bottom: 10px
}

.des {
    color: #666;
    font-size: 20px;
   margin: 20px 20px 20px 20px;
}

.wrapper {
  width: 100%;
  display: block;

}

.custom-select {
			display: block;
			width: 100%;
			height: 45px;
			font-size: 13px;
			line-height: 1.1;
			padding: 5px 20px;
			color: #4D4E50;
			border: 1.5px solid #000;
			border-radius: 3px;
			background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 140"><polyline points="10,50 70,110 130,50" style="fill:none;stroke:%238B8C8F;stroke-width:15;stroke-linecap:round"/></svg>') no-repeat right 15px center;
			background-size: 10px;
			-webkit-appearance: none;
			-moz-appearance: none;
			appearance: none;
			cursor: pointer;

			box-sizing: border-box;
			display: block;
}

.custom-select:focus {
    outline: none;
    border-color: #007bff;
}


@media screen and (max-width: 768px) {
  .btn-search {
    flex-direction: column;
    align-items: stretch;
  }

  .col-md-3, .col-md-7 {
    width: 100%;
  }

  .reservation-box {
    width: 100%;
    margin: 0;
    height: auto;
  }

  .reservation-box .top {
    width: 100%;
    gap: 20px;
    flex-wrap: wrap;
  }

  .col-md-4 {
    flex: 1 1 auto;
    min-width: 250px;
    width: 100%;
    margin-left: 0 !important;
  }

  .button-container {
    width: 100%;
    max-width: 250px;
    margin-top: 20px;
  }

  .table-responsive-sm {
    overflow-x: auto;
  }

  .table {
    min-width: 800px;
  }
}

@media screen and (max-width: 480px) {
  .des {
    font-size: 16px;
    margin: 10px;
    text-align: center;
  }

  .input-container {
    min-width: 100%;
  }

  .custom-select {
    width: 100%;
  }

  .row {
    padding: 10px !important;
  }
}


.search-form {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin: 20px 0;
    padding: 0 20px;
}


/* .select-group {
    flex: 2;
} */


.date-input-group {
    display: flex;
    gap: 20px;
    flex: 3;
}


.select-group,
.date-input-group {
    width: 30%;
}


.search-button {
    height: 40px;
    min-width: 100px;
    max-width: 150px;
    padding: 0 20px;
    background-color: #006db5;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
}


@media screen and (max-width: 1024px) {
    .search-form {
        align-items: end;
        max-width: 500px;
        margin: 20px auto;
    }

    .select-group,
    .date-input-group {
        width: 30%;
    }

    .date-input-group {
        flex-direction: column;
        gap: 15px;
    }

    .search-button {
        width: 100%;
        margin-top: 15px;
    }
}


.result-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.result-table th {
    background-color: #006db5;
    color: white;
    padding: 12px;
    text-align: left;
}

.result-table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}


@media screen and (max-width: 768px) {


  .select-group,
  .date-input-group {
      width: 30%;
  }
    .search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .date-input-group {
        flex-direction: column;
        width: 100%;
    }

    .date-input {
        width: 100%;
    }

    .search-button {
        width: 100%;
    }
}


@media screen and (max-width: 480px) {
    .select-group,
    .date-input-group {
        width: 100%;
    }
}


.table-responsive-sm {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}


.table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: collapse;
}


.table-header th {
    background-color: #006db5;
    color: white;
    padding: 12px;
    white-space: nowrap;
    font-weight: 500;
}

.table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
}

@media screen and (max-width: 1024px) {
    .table-responsive-sm {
        margin: 0;
        padding: 0;
        border: none;
    }


    .table {
        min-width: 800px;
    }
}

.custom-select,
.date-input {
    height: 40px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    width: 100%;
}

input[type="date"] {
    height: 40px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    font-family: inherit;
    color: #333;
    cursor: pointer;
}


input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
}


input[type="date"]::-webkit-datetime-edit-text,
input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field {
    color: #333;
}

input[type="date"]:invalid::-webkit-datetime-edit {
    color: #999;
}

.chosen-container-single .chosen-single {
    height: 40px !important;
    padding: 12px 10px !important;
    border: 1.5px solid #000 !important;
    border-radius: 3px !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #4D4E50 !important;
    font-size: 13px !important;
    line-height: 1.1 !important;
}

.chosen-container-single .chosen-single div {
    width: 25px !important;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 140"><polyline points="10,50 70,110 130,50" style="fill:none;stroke:%238B8C8F;stroke-width:15;stroke-linecap:round"/></svg>') no-repeat center !important;
    background-size: 10px !important;
}

.chosen-container-single .chosen-single div b {
    display: none !important;
}


.chosen-container .chosen-drop {
    border: 1.5px solid #000 !important;
    border-radius: 3px !important;
    margin-top: 3px !important;
}


.chosen-container .chosen-search input[type="text"] {
    height: 40px !important;
    padding: 8px 12px !important;
    border: 1px solid #ccc !important;
}


.chosen-container .chosen-results li {
    padding: 12px 10px !important;
    font-size: 13px !important;
    line-height: 1.1 !important;
}

.chosen-container .chosen-results li.highlighted {
    background: var(--primary-color) !important;
    color: #fff !important;
}

/* Đảm bảo chiều rộng phù hợp */
.chosen-container {
  max-width: 100px !important;
    width: 100% !important;
    min-width: 217px !important;
}

:root {
  --primary-color: #006db5;
}

.popup-form label,
.popup-form input,
.popup-form textarea {
  display: block;
  width: 100%;
}
.popup-form ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.popup-form ul li {
  padding: 0.3em;
}
.form-item span {
  font-weight: 700;
  color: #102a43;
  line-height: 35px;
  line-height: 2.5rem;
  font-size: 12px;
  font-size: 0.8rem;

}
input[type="submit"] {
  background: var(--primary-color);
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 5px;
  margin-top: 1.3em;
}

.container {
  width: 460px;
  margin: 5em auto;
}
.col-md-7 form {
  background-color: #ffffff;
  padding-top: 40px;
  padding-right: 40px;
  padding-bottom: 40px;
  padding-left: 40px;

  border-radius: 3px;
  overflow: hidden;
}

.required-star {
  color: #fc4366 !important;
}

.popup-form input,
.popup-form textarea {
  width: 100%;
  padding: 9px 20px;
  border: 1px solid #e1e2eb;
  background-color: #F7F7F7;
  color: #102a43;
  caret-color: #829ab1;
  box-sizing: border-box;
  font-size: 14px;
  font-size: 1rem;
  line-height: 29px;
  line-height: 2rem;
  box-shadow: inset 0 2px 4px 0 rgba(206, 209, 224, 0.2);
  border-radius: 3px;
  line-height: 29px;
  line-height: 2rem;
}

.img-box{
  height: 100%;
  display: flex;
  align-items: center;
}

.img-request {
  width: 478px;
}

.file-upload {
  display: flex;
  align-items: center;
}
.file {
  display: none;
}
.file-name {
  position: relative;
  overflow: hidden;
  line-height: 30px;
  padding: 5px;
  box-sizing: border-box;
  font-size: 15px;
  vertical-align: middle;
  width: 452px;
  border: 2px solid #dbdbdb;
  border-radius: 0;
  height: calc(2em + 0.75rem + 2px);
}
.btn-selected {

  border: none;
  border-radius: 0;
  width: 100px;
  box-sizing: border-box;
  padding: 2px 10px;
  background-color: var(--primary-color);
  transition: all 0.6s;
  color: #fff;
  font-size: 15px;
  vertical-align: middle;
  text-transform: uppercase;
  margin-left: 1rem;
  padding: 10px;
  border-radius: 8px;
}
.btn-selected:hover {
  background: #2a64ad;
  box-shadow: 0 0 5px #d9d2e1;
}
