#save-settings-form span#file-name {
  display: block;
  margin-top: 5px;
}
.upload-logo-label img{
  object-fit: contain;
  max-width: 115px;
  max-height: 50px;
}

#upload-default {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 1;
}

#upload-default img {
  max-width: 60px;
  max-height: 60px;
  width: auto;
  height: auto;
}

#upload-preview {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#upload-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.upload-logo-label {
  background-color: #E9EAEC;
  border: 1px solid #E9EAEC;
  border-radius: 10px;
  position: relative;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nav-link {
  color: black !important;
}

#upload-default-personal {
  padding: 12px;
  background-color: #F9F9F9;
  border: 1px solid #E9EAEC;
  border-radius: 10px;
}
#upload-default-personal img {
  height: auto!important;
}
.upload-logo-label-personal-review {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: #E9EAEC;
  border: 1px solid #E9EAEC;
  border-radius: 10px;
  padding: 1.5rem;
}
.upload-logo-label-personal-review img {
  max-height: 150px;
  object-fit: contain;
}

#save-settings-btn {
  padding: 16px;
}

button.active {
  color: orange !important;
}

.tab-content {
  padding-top: 20px;
}
.signature-value-item img{
  margin: 10px 0;
}
.setting-container h4{
  font-size: 20px;
}


@media screen and (max-width: 767px) {
  .upload-logo-label img{
    width: 100%;
  }
  .use-signature-pad{
    width: 100%;
  }
  .signature-value-item img{
    width: 100%;
  }
  .setting-container .title-card{
    font-size: calc(1.375rem + 1.5vw);
  }
}

@media screen and (max-width: 425px) {
  #upload-default-personal img {
    width: 200px;
  }
}

.delete-signature {
  cursor: pointer;
}

/* ==========================================
   Document Types Management Styles
   ========================================== */

.document-types-list {
  overflow-x: auto;
}

.document-types-list .table {
  margin-bottom: 0;
}

.document-types-list .table th {
  background-color: #f8f9fa;
  font-weight: 600;
  font-size: 14px;
  padding: 12px;
  vertical-align: middle;
}

.document-types-list .table td {
  padding: 12px;
  vertical-align: middle;
  font-size: 14px;
}

.document-types-list .table code {
  background-color: #f1f3f5;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
  color: #495057;
}

.document-types-list .badge {
  font-size: 11px;
  padding: 4px 8px;
  font-weight: 600;
}

.add-document-type-form {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.add-document-type-form h5 {
  font-size: 16px;
  margin-bottom: 15px;
}

.add-document-type-form .form-label {
  font-size: 14px;
  margin-bottom: 8px;
}

.add-document-type-form .form-control {
  font-size: 14px;
}

/* Responsive adjustments */
@media screen and (max-width: 767px) {
  .document-types-list .table {
    font-size: 13px;
  }
  
  .document-types-list .table th,
  .document-types-list .table td {
    padding: 8px;
  }
  
  .add-document-type-form {
    padding: 15px;
  }
}