
.bprtool-files-wrap {
  display: grid;
  gap: 28px;
}

.bprtool-files-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 28px rgba(0,0,0,.06);
}

.bprtool-files-card h2 {
  margin-top: 0;
}

.bprtool-upload-form {
  display: grid;
  gap: 16px;
  max-width: 760px;
}

.bprtool-upload-form label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.bprtool-upload-form input[type="text"],
.bprtool-upload-form input[type="file"],
.bprtool-upload-form select,
.bprtool-upload-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 1px solid #cfd3d7;
  border-radius: 8px;
  background: #fff;
  font: inherit;
}

.bprtool-files-help,
.bprtool-files-description {
  color: #60656b;
}

.bprtool-files-description {
  font-size: .92rem;
  margin-top: 4px;
}

.bprtool-files-notice,
.bprtool-files-message {
  background: #f3f6f8;
  border-left: 4px solid #2f5f88;
  padding: 12px 14px;
  border-radius: 6px;
}

.bprtool-files-table-wrap {
  overflow-x: auto;
}

.bprtool-files-table {
  width: 100%;
  border-collapse: collapse;
}

.bprtool-files-table th,
.bprtool-files-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #e5e7e9;
  text-align: left;
  vertical-align: top;
}

.bprtool-files-table th {
  font-size: .9rem;
}

.bprtool-files-actions {
  white-space: nowrap;
}

.bprtool-button {
  display: inline-block;
  border: 0;
  border-radius: 8px;
  padding: 9px 13px;
  background: #163f5c;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.bprtool-button:hover {
  opacity: .9;
}

.bprtool-button-secondary {
  background: #5a6b77;
}

.bprtool-button-danger {
  background: #8a2d2d;
}

@media (max-width: 760px) {
  .bprtool-files-card {
    padding: 18px;
  }

  .bprtool-files-actions {
    white-space: normal;
  }

  .bprtool-button {
    margin: 2px 0;
  }
}

.bprtool-files-client {
  margin-top: 4px;
  font-size: 0.9rem;
  color: #44515c;
}

.bprtool-files-client strong {
  color: #163f5c;
}

.bprtool-upload-progress {
    margin-top: 16px;
}

.bprtool-upload-progress-label {
    margin-bottom: 8px;
    font-weight: 700;
    color: #163f5c;
}

.bprtool-upload-progress-track {
    width: 100%;
    height: 18px;
    background: #e5e7e9;
    border-radius: 999px;
    overflow: hidden;
}

.bprtool-upload-progress-bar {
    height: 100%;
    background: #163f5c;
    border-radius: 999px;
    transition: width 0.2s ease;
}

/* =========================================================
   BPRTOOL CLIENT LOGIN
========================================================= */

.bprtool-files-card #loginform {
    max-width: 520px;
    margin-top: 24px;
}

.bprtool-files-card #loginform p {
    margin: 0 0 18px;
}

.bprtool-files-card #loginform label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.bprtool-files-card #loginform input[type="text"],
.bprtool-files-card #loginform input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 16px;
    background: #ffffff;
}

.bprtool-files-card #loginform .login-remember label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
}

.bprtool-files-card #loginform input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.bprtool-files-card #loginform input[type="submit"] {
    background: #174c6b;
    color: #ffffff;
    border: 0;
    border-radius: 6px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.bprtool-files-card #loginform input[type="submit"]:hover {
    opacity: 0.9;
}