/* Small additions to the old portal's compiled theme (styles.css) for the server-rendered markup. */

/* Company rows were router links on <div>s; here they are real links that look the same. */
a.medicine-list-row { color: inherit; text-decoration: none; }

/* ngx-toastr enter/leave animation */
.toast-container .ngx-toastr { opacity: 0; transition: opacity 0.3s ease-in; }
.toast-container .ngx-toastr.show { opacity: 1; }
.toast-container .ngx-toastr .toast-progress { width: 0; }

/* Status badges for the newer draft/deactivated states */
.status-badge { font-family: "Poppins", sans-serif; font-weight: 500; vertical-align: middle; }
.status-banner { font-size: 14px; }

/* Language picker under the PIL/PI file inputs */
.edit-form .custom-select { font-size: 14px; color: #171717; }
.document-list li { margin-bottom: 0.25rem; }

/* Language picker sits beside the UPDATE PIL / UPDATE PI button so the upload panel keeps its height */
.upload-actions { flex-wrap: wrap; }
.upload-actions > .custom-select { width: auto; max-width: 50%; margin: 10px 10px 10px auto; align-self: center; }
@media (max-width: 767.98px) {
  .upload-actions > .custom-select { width: calc(100% - 20px); max-width: none; margin: 0 10px 10px; }
}

/* "Deactivate medicine" for company users: same button family as update/delete, in the theme's primary blue */
.action-button.primary {
  margin: 10px; height: 40px; line-height: 40px; padding: 0 14px;
  box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
  background: #00587c; color: #fff !important; border-radius: 4px; font-size: 15px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.025em; transition: all 0.15s ease; text-decoration: none; cursor: pointer;
}
.action-button.primary:hover { color: #fff; background-color: #00587c; }
