.doc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 5px 0;
  border-bottom: 1px dashed #d2d2d2;
  margin-bottom: 5px;
}
.doc-info {
  display: flex;
  flex-direction: column;
  width: 80%;
}
.title-details{
  color: var(--hm-primary-dark);
  display: block;
  font-size: 11px;
  font-weight: 400;
}
.title-details span{
  font-size: 11px;
}

.doc-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.visibility-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #444;
  cursor: pointer;
}
.visibility-toggle input {
  cursor: pointer;
}

.doc-delete {
  background: transparent;
  border: none;
  color: var(--hm-alert);
  font-size: 18px;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
}
.doc-delete:hover {
  color: var(--hm-alert-dark);
  transform: scale(1.1);
}

.current-docs label{
  font-size: 14px;
  font-weight: 500;
}
.current-docs a{
  text-decoration: none;
  color: var(--hm-primary-dark);
}
.current-docs a:hover{
  text-decoration: underline;
}

@media (max-width:426px) {
  .card-title {
    font-size: 16px !important;
  }
  .form-control {
    font-size: 14px !important;
  }
  .doc-header{
    flex-direction: column;
    align-items: start;
  }
  .doc-info {
    width: 100% !important;
  }
  .doc-actions{
    width: 100%;
    justify-content: space-between;
  }
  .image-box {
    width: 130px;
    height: 130px;
  }
}

@media (max-width: 660px){
  .hospital-card{
    padding: 15px;
  }
  .card-header{
    flex-direction: column;
  }
  .hospital-action-buttons{
    justify-content: flex-end !important;
  }
  .card-title{
    font-size: 18px;
  }
  .logo-wrapper {
    width: 55px;
    height: 55px;
  }
  .hospital-logo {
    width: 50px;
    height: 50px;
  }
  .logo-action {
    width: 20px;
    height: 20px;
  }
  .edit-action {
    top: 35px;
    left: 30px;
  }
  .delete-action {
    top: 35px;
  }
}

@media (max-width:768px) {
  .doc-info {
    width: 75%;
  }
  .doc-header{
    gap: 10px;
  }
}