@import '../src/styles/colors.css';

.contract {
  position: relative;
  top: 100px;
  margin-left: 20px !important;
}

.logout-btn {
  background: none;
  border: none;
  color: inherit;
  padding: 0;
  font: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.logout-btn:hover {
  color: var(--azure-500);
}

.Modal.show .Modal-content {
  transform: translateY(0);
}

.Modal-content {
  position: absolute;
  top: 5%;
  left: 30%;
  transform: translate(-50%, -50%);
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  width: 600px;
  max-width: 90%;
}

.submit-btn {
  background-color: var(--azure-500);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  width: 100%;
  transition: background-color 0.3s ease;
}


.service-table {
  margin-top: 23px;
}


.service-table.form-open {
  margin-top: 94px;
  /* Adjust this value as needed */
  transition: margin-top 0.3s ease;
}

.taskcategory-search-lower {
  top: 286px !important;
  transition: margin-top 0.3s ease;
}

.site-edit-search-shift {
  position: relative;
  top: 20px !important;
  /* Adjust this value as needed */
}

.taskcategory-table.form-open {
  margin-top: 84px;
  /* Adjust this value as needed */
  transition: margin-top 0.3s ease;
}

.search-container-dashboard.search-with-form {
  top: 440px !important;
  /* Adjust this value as needed */
  transition: margin-top 0.3s ease;
}


input.readonly {
  cursor: not-allowed;
}


.search-container-contractor {
  position: relative;
  max-width: 300px !important;
  top: 10px !important
}

.taskcategory-search-container {
  position: relative;
  top: 280px !important; /* adjust as needed */
  margin-bottom: 16px;
  max-width: 300px !important;
}


.special-search-bar {
    position: relative;
    max-width: 300px !important;
    top:501px !important;
}

.special-search-bar-user {
    position: relative;
    max-width: 300px !important;
    top:472px !important;
}

.special-search-bar-contract {
    position: relative;
    max-width: 300px !important;
    top:492px !important;
}

.search-container-contractor.search-with-form {
  top: 385px !important;
  /* Adjust this value as needed */
  transition: margin-top 0.3s ease;
}


.search-container-taskcategory {
  position: relative;
  max-width: 400px;
  top: 30px;
}

.search-container-taskcategory.search-with-form {
  top: 328px !important;
  /* Adjust this value as needed */
  transition: margin-top 0.3s ease;
}



.actions-2 {
  display: flex;
  gap: 0.5rem;
  cursor: pointer;
}


.file-preview-container {
  margin-bottom: 8px;
}

.file-preview-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.file-preview-list li {
  margin-bottom: 4px;
}

.file-link {
  color: var(--azure-500);
  text-decoration: underline;
  font-size: 14px;
}


.custom-file-input-wrapper {
  position: relative;
  width: 100%;
}

.custom-file-box {
  display: block;
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--box-border-color);
  border-radius: 6px;
  background-color: var(--white);
  cursor: pointer;
  color: var(--slate-gray);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.custom-file-box {
  display: inline-block;
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--box-border-color);
  border-radius: 4px;
  background-color: var(--white);
  cursor: pointer;
}

.custom-file-box.readonly {
  background-color: var(--slate-50); /* ✅ Light gray for readonly */
  cursor: default;
  border-color: var(--box-border-color);
}


.file-name {
  color: var(--azure-500); /* Bootstrap blue */
  text-decoration: underline;
  cursor: pointer;
}

.file-placeholder {
  color: var(--slate-gray);
}

.hidden-file-input {
  display: none;
}


.file-preview-box {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.file-thumbnail {
  width: 16px;
  height: 16px;
  object-fit: cover;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.file-icon {
  width: 16px;
  height: 16px;
}

/* .file-name {
  font-size: 14px;
  color: #333;
} */
