﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.text-ellipsis {
    white-space: nowrap; /* Không cho phép xuống dòng */
    overflow: hidden; /* Ẩn phần nội dung vượt quá khung */
    text-overflow: ellipsis; /* Hiển thị dấu ... khi bị cắt */
}
.form-group{
    margin: 10px 0;
}

.total-amount {
    font-size: 2.5rem;
    font-weight: bold;
    border: none;
    background-color: transparent;
    font-family: 'Roboto', sans-serif;
    color: #dc3545;
}
/* Style for status dropdowns */
.form-select {
    min-width: 120px;
}

/* Style for DataTable */
#bookingsTable {
    width: 100% !important;
}

/* Responsive table */
@media (max-width: 768px) {
    #bookingsTable td:nth-child(1):before {
        content: "STT";
    }

    #bookingsTable td:nth-child(2):before {
        content: "Phòng";
    }

    #bookingsTable td:nth-child(3):before {
        content: "Loại phòng";
    }

    #bookingsTable td:nth-child(4):before {
        content: "Khách hàng";
    }

    #bookingsTable td:nth-child(5):before {
        content: "Check-in";
    }

    #bookingsTable td:nth-child(6):before {
        content: "Check-out";
    }

    #bookingsTable td:nth-child(7):before {
        content: "Trạng thái phòng";
    }

    #bookingsTable td:nth-child(8):before {
        content: "Trạng thái booking";
    }

    #bookingsTable td:nth-child(9):before {
        content: "Giá";
    }

    #bookingsTable td:nth-child(10):before {
        content: "Ngày tạo";
    }

    #bookingsTable td:nth-child(11):before {
        content: "Hành động";
    }
}