/*####################################### */ 
/*##############  document FTP ###########*/ 
/*####################################### */
.documents-browser {
  max-width: 980px;
  margin: 40px auto;
  padding: 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.documents-browser * {
	font-family: var(--poppins)!important;
}


.documents-browser-header {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e5e7eb;
}

.documents-browser-title {
	margin: 0;
	font-size: 20px;
	line-height: 1.2;
	color: #111827;
	font-family: var(--poppins)!important;
	font-weight: var(--semi-bold);
}

.documents-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  color: #6b7280;
}

.documents-breadcrumbs a {
  color: #2563eb;
  text-decoration: none;
}

.documents-breadcrumbs a:hover {
  text-decoration: underline;
}

.documents-breadcrumb-sep {
  color: #9ca3af;
}

.documents-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.documents-search-form input[type="search"] {
  flex: 1 1 280px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #fff;
  color: #111827;
}

.documents-search-form button {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 4px;
  background: var(--bleu-2);
  color: #fff;
  cursor: pointer;
}

.documents-search-form button:hover {
  opacity: 0.92;
}

.documents-search-reset {
  color: #2563eb;
  text-decoration: none;
  font-size: 14px;
}

.documents-search-reset:hover {
  text-decoration: underline;
}

.documents-back {
  margin-bottom: 16px;
}

.documents-back a {
  color: #2563eb;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.documents-back a:hover {
  text-decoration: underline;
}

.documents-list {
  display: grid;
  gap: 14px;
}

.documents-item {
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  background: #f9fafb;
}

.documents-item.is-folder {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.documents-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  text-decoration: none;
  color: #111827;
}

.documents-link:hover {
  background: rgba(255, 255, 255, 0.55);
}

.documents-link-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.documents-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.documents-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.documents-name {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  word-break: break-word;
}

.documents-meta {
  flex: 0 0 auto;
  font-size: 13px;
  color: #6b7280;
  text-align: right;
}


.documents-empty {
  padding: 22px;
  border: 1px dashed #d1d5db;
  border-radius: 4px;
  background: #F8F8F8;
  text-align: center;
  color: #6b7280;
}

.screen-reader-text {
  position: absolute;
  left: -9999px;
}




@media (max-width: 768px) {
  .documents-browser {
    margin: 24px 16px;
    padding: 18px;
  }

  .documents-link {
    flex-direction: column;
    align-items: flex-start;
  }

  .documents-meta {
    text-align: left;
    white-space: normal;
  }

  
}

