
/* Custom component styles */
.custom-card {
  margin-bottom: 1.5rem;
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding: 1.5rem;
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  border-left: 4px solid var(--primary-color);
  transition: transform 0.2s ease-in-out;
}

.custom-card:hover {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  transform: translateY(-2px);
}

/* Custom typography */
.heading-1 {
  margin-bottom: 1rem;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity, 1));
}

/* Responsive design */
@media (max-width: 768px) {
  .custom-card {
    padding: 1rem;
  }
}

.last\:border-0:last-child {
  border-width: 0px;
}

.hover\:bg-blue-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(29 78 216 / var(--tw-bg-opacity, 1));
}

.hover\:text-blue-600:hover {
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity, 1));
}

.hover\:text-blue-800:hover {
  --tw-text-opacity: 1;
  color: rgb(30 64 175 / var(--tw-text-opacity, 1));
}

.hover\:text-white:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.focus\:border-blue-500:focus {
  --tw-border-opacity: 1;
  border-color: rgb(59 130 246 / var(--tw-border-opacity, 1));
}

.focus\:ring-blue-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1));
}

@media (min-width: 768px) {
  .md\:mb-0 {
    margin-bottom: 0px;
  }

  .md\:flex-row {
    flex-direction: row;
  }
}


/* css custum news */
.gtranslate_wrapper {
  z-index: 9999999;
  position: relative;
  transform: scale(0.8);
  /* Giảm kích thước của toàn bộ widget xuống 80% */
  transform-origin: top right;
  /* Đặt điểm gốc để thu nhỏ widget từ góc phải */
}

.gtranslate_wrapper iframe,
.gtranslate_wrapper select {
  font-size: 0.8em;
  /* Giảm kích thước chữ của các phần tử bên trong */
}


.btn-primary:hover {
  color: #00ffb4;
  background-color: #00000000;
  border-color: #808c9a;
}

.btn-primary {
  color: #000000;
  background-color: #0bd81900;
  border-color: #ed0909;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

.price-table th {
  background-color: #00d87e;
}

.form-group {
  margin-bottom: 20px;
}

.alert {
  position: relative;
  padding: 0.15rem 0.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.main-heading {
  font-size: 1.5rem;
  font-weight: bold;
  color: #343a40;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.date {
  font-size: 1.2rem;
  color: #6c757d;
  margin-bottom: 30px;
}

@keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }

  100% {
    opacity: 1;
  }
}

#scanStatusMessage.alert-info {
  background-color: #17a2b8;
  color: white;
  border-radius: 5px;
  animation: blink 1.5s infinite;
  padding: 10px;
  display: flex;
  align-items: center;
}

#scanStatusMessage .spinner-border {
  margin-right: 10px;
  color: #fff;
}

#customConfirm {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  border: 1px solid #4CAF50;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  width: 350px;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  animation: fadeIn 0.3s;
}

#customConfirm h4 {
  margin: 0 0 20px;
  font-size: 18px;
  color: #333;
}

#customConfirm button {
  margin: 10px;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#confirmBtn {
  background-color: #4CAF50;
  color: white;
}

#cancelBtn {
  background-color: #f44336;
  color: white;
}

#confirmBtn:hover {
  background-color: #45a049;
}

#cancelBtn:hover {
  background-color: #e53935;
}

#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.custom-link-list {
  list-style-type: none;
  padding-left: 0;
  counter-reset: custom-item;
}

.custom-link-item {
  position: relative;
  padding: 15px;
  margin-bottom: 10px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.custom-link-item::before {
  content: counter(custom-item) ". ";
  counter-increment: custom-item;
  position: absolute;
  left: -30px;
  top: 15px;
  font-weight: bold;
}

.custom-list-group-item {
  position: relative;
  display: block;
  padding: .75rem 1.25rem;
  background-color: #0a323d;
  border: 1px solid rgba(0, 0, 0, .125);
}

h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
}

.link-icon {
  color: #ff5733;
}

.note-icon {
  color: #28a745;
}

.time-icon {
  color: #17a2b8;
}

.note-text {
  color: #ffc800;
}

.time-text {
  color: #6c757d;
}

p {
  margin: 5px 0;
}

.file-list {
  list-style-type: none;
  padding: 0;
}

.file-item {
  border: 1px solid #dee2e6;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 10px;
  background-color: #e2f475b8;
  transition: transform 0.2s, box-shadow 0.2s;
}

.file-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.file-item a {
  word-wrap: break-word;
  color: #007bff;
  text-decoration: none;
}

.file-item a:hover {
  text-decoration: underline;
}

.file-name {
  font-size: 18px;
  color: #333;
  font-weight: bold;
}

.file-info {
  font-weight: bold;
  color: #555;
}

.file-note {
  color: #007BFF;
}

.file-size {
  color: #28a745;
}

.file-time {
  color: #ff5722;
}

.ad-container {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #ddd;
  padding: 15px;
  background-color: #f1f1f1;
  height: 300px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.ad-container1 {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #ddd;
  padding: 15px;
  background-color: #f1f1f1;
  height: 50px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.date-display {
  margin-top: 10px;
  font-size: 1.1rem;
  color: #555;
  display: flex;
  gap: 15px;
  justify-content: center;
}

.date-label {
  font-weight: bold;
  margin-right: 5px;
}

.date-value {
  color: #333;
}

@media (max-width: 768px) {
  .date-display {
    flex-direction: column;
    gap: 5px;
    align-items: center;
  }
}

/* Admin Dashboard Styles */
.sb-nav-fixed #layoutSidenav #layoutSidenav_nav {
  width: 225px;
  height: 100vh;
  z-index: 1038;
  position: fixed;
  top: 56px;
}

.sb-nav-fixed #layoutSidenav #layoutSidenav_content {
  padding-left: 225px;
  top: 56px;
}

.sb-sidenav {
  padding-top: 1rem;
  height: 100%;
}

.sb-sidenav .nav-link {
  padding: 0.75rem 1rem;
}

.sb-sidenav-dark {
  background-color: #212529;
  color: rgba(255, 255, 255, 0.5);
}

.sb-sidenav-dark .nav-link {
  color: rgba(255, 255, 255, 0.5);
}

.sb-sidenav-dark .nav-link:hover {
  color: rgba(255, 255, 255, 0.75);
}

.sb-sidenav-dark .nav-link.active {
  color: white;
}

.sb-sidenav-dark .sb-sidenav-footer {
  background-color: #343a40;
  color: white;
}

.sb-topnav {
  height: 56px;
  z-index: 1039;
}

#layoutSidenav_content {
  min-height: calc(100vh - 56px);
  padding-top: 1.5rem;
}

/* Responsive */
@media (max-width: 991.98px) {
  .sb-nav-fixed #layoutSidenav #layoutSidenav_nav {
    width: 0;
  }
  .sb-nav-fixed #layoutSidenav #layoutSidenav_content {
    padding-left: 0;
  }
  .sb-nav-fixed.sb-sidenav-toggled #layoutSidenav #layoutSidenav_nav {
    width: 225px;
  }
  .sb-nav-fixed.sb-sidenav-toggled #layoutSidenav #layoutSidenav_content {
    padding-left: 225px;
    overflow: hidden;
  }
}

/* src/client/css/admin.css */

.admin-layout {
  background-color: #f8f9fa;
}

#sidebar {
  min-width: 250px;
  max-width: 250px;
  min-height: 100vh;
  transition: all 0.3s;
}

#sidebar.active {
  margin-left: -250px;
}

#content {
  width: 100%;
  min-height: 100vh;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  #sidebar {
    margin-left: -250px;
  }
  #sidebar.active {
    margin-left: 0;
  }
}

.sidebar-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.list-unstyled.components {
  padding: 20px 0;
}

.list-unstyled.components li a {
  padding: 10px 15px;
  color: rgba(255, 255, 255, 0.8);
  display: block;
  text-decoration: none;
  transition: all 0.3s;
}

.list-unstyled.components li a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.list-unstyled.components li.active a {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

/* crypto */
/* styles.css */

/* Ná»n cá»§a trang */
body {
    background-color: #f1f3f5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* TiÃªu Ä‘á» */
h1 {
    font-weight: 700;
    color: #343a40;
    margin-bottom: 30px;
}

/* Tháº» card */
.crypto-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.crypto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Biá»ƒu tÆ°á»£ng tiá»n mÃ£ hÃ³a trong Crypto Cards */
.crypto-icon {
    width: 60px;
    /* Giáº£m kÃ­ch thÆ°á»›c tá»« 80px xuá»‘ng 60px */
    height: 60px;
    /* Giáº£m kÃ­ch thÆ°á»›c tá»« 80px xuá»‘ng 60px */
    object-fit: contain;
    margin-bottom: 10px;
}

/* Footer */
footer {
    position: relative;
    width: 100%;
    bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .crypto-icon {
        width: 40px;
        /* Giáº£m kÃ­ch thÆ°á»›c ná»¯a cho thiáº¿t bá»‹ nhá» */
        height: 40px;
    }

    h1 {
        font-size: 2rem;
    }
}

/* ThÃªm khoáº£ng cÃ¡ch cho thanh tÃ¬m kiáº¿m vÃ  sort dropdown */
#searchInput,
#sortSelect {
    height: 50px;
    font-size: 1rem;
}

/* FluctuationBar Styles */
.bg-success {
    background-color: #28a745;
}

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

/* FluctuationNavBar Styles */
#fluctuationNav img {
    width: 24px;
    height: 24px;
}

#fluctuationNav span {
    margin-right: 15px;
}

/* ThÃªm cÃ¡c lá»›p má»›i cho FluctuationNavBar */
.d-flex.flex-column.align-items-center {
    text-align: center;
}

.crypto-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ThÃªm khoáº£ng cÃ¡ch giá»¯a cÃ¡c pháº§n tá»­ trong Crypto Cards */
.crypto-card-inner .card-body p {
    margin-bottom: 0.5rem;
}

/* Optional: Cáº£i thiá»‡n FluctuationNavBar */
#fluctuationNav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

/* card sp */


