.app-list-file {
  position: relative;
  z-index: 3;
  height: 100vh;
  padding: 0 75px;
  overflow-y: scroll;
  overflow-x: hidden;
}

.app-file__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 125px;
}

.app-file__logo-img {
  width: 132px;
  padding: 24px 0;
  object-fit: cover;
}

.app-file__language {
  display: flex;
  align-items: center;
  margin-right: 1rem;
}

.app-file__language-btn {
  background: none;
  border: none;
  color: white;
  font-size: 0.75rem;
  padding: 5px 10px;
  cursor: pointer;
}

.app-file__language-btn img {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

.app-file__language-btn--active img {
  padding: 1px;
  border: 1px solid #fff;
  border-radius: 100px;
}

.app-file__nav {
  display: flex;
  justify-content: space-between;
  margin: 20px auto;
  max-width: 500px;
}

.app-file__dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: auto;
  margin: 6px 10px;
  padding: 10px 24px;
  border: 1px solid #ccd1d9;
  font-size: 0.9375rem;
  border-radius: 6px;
  font-weight: 600;
  color: var(--text-default);
}

.app-file__dropdown-item--logout {
  display: flex;
  align-items: center;
  gap: 10px;
  width: auto;
  margin: 0 10px;
  padding: 10px 24px;
  background-color: #e1edff;
  font-size: 15px;
  border-radius: 6px;
  border: none;
  color: #206de5;
}

.app-file__nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff66;
  text-decoration: none;
  padding: 10px;
  cursor: pointer;
  position: relative;
  font-size: 0.9375rem;
  font-weight: 600;
}

.app-file__nav-item.active::after {
  content: "";
  position: absolute;
  top: 67.5%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background-image: url(../assets/icons/icon-active-tab.svg);
  background-repeat: no-repeat;
  background-position: center;
}

.app-file__nav-icon {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  width: 3.2rem;
  height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  background: linear-gradient(to top, #10449e66, #10449e);
}

.active .app-file__nav-icon {
  border: 1px solid #fff;
  background: transparent;
}

.app-file__nav-icon img {
  width: 2rem;
}

.app-file__nav-item--active {
  color: #fff;
}

.app-file__content {
  background-color: white;
  border-radius: 36px 36px 0 0;
  padding: 36px 125px !important;
  min-height: calc(100vh - 180px);
}

.app-file__content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.app-file__content-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0px;
}

.app-file__content-count {
  font-size: 0.875rem;
  color: #989ba2;
  font-weight: normal;
}

.app-file__sort-select {
  border-radius: 4px;

  font-size: 0.9375rem;
  font-weight: 500;
  color: #313741;
  background-color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.app-file__sort-select i {
  margin-left: 8px;
}

.app-file__create-btn {
  background-color: var(--secondary-pink);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  margin-left: 15px;
  width: -webkit-fill-available;
  font-size: 1rem;
  font-weight: 700;
  min-width: 185px;
  height: 52px;
  gap: 10px;
}

.app-file__create-btn img {
  background-color: #fff;
  height: 28px;
  width: 28px;
  padding: 4px;
  border-radius: 50px;
}

.app-file__document-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
}

.document-card {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.document-card__image-container {
  position: relative;
  background-color: #dfe4ed;
}

.document-card__image {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.document-card__title-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: white;
  height: 100%;
  background: linear-gradient(to top, #173363e5, #1733630d);
  display: flex;
  flex-direction: column-reverse;
  padding: 16px;
  border-radius: 12px;
}

.document-card__info {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #3b3b3b;
  font-size: 0.9375rem;
}

.document-card__info img {
  height: 16px;
}

.document-card__type {
  color: var(--bs-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.document-card__type img {
  background-color: var(--bs-primary);
  padding: 2px;
  border-radius: 4px;
}

.document-card__title {
  font-size: 1.25rem !important;
  font-weight: 700;
  margin-bottom: 0;
}

.document-card__footer {
  background-color: #dfe4ed;
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 12px;
}

.document-card__count {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #333;
}

.document-card__time {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #333;
}

.document-card__menu {
  font-size: 16px;
}

.app-file__footer {
  padding: 20px 125px;
  text-align: center;
  background-color: white;
  border-top: 1px solid #c9d0db;
}

.app-file__footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-file__footer-logo {
  height: 50.65px;
}

.app-file__footer-tag {
  height: 48px;
}

.app-file__footer-right {
  text-align: right;
  display: flex;
  align-items: center;
  height: 100%;
}

.app-file__store-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-file__qr-img {
  height: 5rem;
}

.app-file__store-img {
  width: 120px;
  margin-right: 10px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .app-file__document-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
  }

  .app-file__content-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .app-file__sort-select {
    flex-grow: 1;
  }

  .app-file__footer-content {
    flex-direction: column;
  }

  .app-file__footer-right {
    margin-top: 20px;
    text-align: center;
  }

  .app-file__nav-item.active::after {
    top: 70%;
  }
}

@media (max-width: 576px) {
  .app-list-file {
    padding: 0 0px;
  }

  .app-file__header {
    padding: 0;
  }

  .app-file__nav {
    padding: 0 16px;
  }

  .app-file__content {
    border-radius: 20px 20px 0 0;
    padding: 24px 12px !important;
  }

  .app-file__footer {
    padding: 20px 12px;
  }

  .app-file__create-btn {
    width: fit-content;
    height: fit-content;
    min-width: fit-content;
    padding: 8px 12px;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  .app-list-file {
    padding: 0 12px;
  }

  .app-file__header {
    padding: 0 24px;
  }

  .app-file__content {
    border-radius: 20px 20px 0 0;
    padding: 24px 24px !important;
  }

  .app-file__footer {
    padding: 20px 24px;
  }

  .app-file__dropdown-item {
    padding: 8px 16px;
  }

  .app-file__dropdown-item--logout {
    padding: 8px 16px;
  }
}

@media (min-width: 769px) and (max-width: 992px) {
  .app-list-file {
    padding: 0 16px;
  }

  .app-file__header {
    padding: 0 24px;
  }

  .app-file__content {
    border-radius: 20px 20px 0 0;
    padding: 24px 24px !important;
  }

  .app-file__footer {
    padding: 20px 24px;
  }
}

@media (min-width: 993px) and (max-width: 1200px) {
  .app-list-file {
    padding: 0 24px;
  }

  .app-file__header {
    padding: 0 48px;
  }

  .app-file__content {
    border-radius: 24px 24px 0 0;
    padding: 24px 48px !important;
  }

  .app-file__footer {
    padding: 20px 48px;
  }
}

@media (min-width: 1201px) {
  /* CSS cho desktop lớn */
}
