html {
  font-size: 16px !important;
}

input[type="file"] {
  display: none;
}

.custom-file-upload {
  border: 1px solid #ccc;
  border-radius: 0px;
  display: inline-block;
  padding: 12px 12px;
  cursor: pointer;
  height: 50px;
  background-color: #fff;
  border: 2px solid #337ab7;
  color: #337ab7;
}

.custom-file-upload:hover {
  background-color: #006cd8;
  color: #fff;
}

.custom-file-upload label {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  top: 0;
  left: 0;
  cursor: pointer;
}

.fingerprint {
  font-family: 'Courier New', monospace;
  font-size: 11px;
}

/* Modal personalizado - completamente independiente de Bootstrap */
.custom-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  color: #333;
}

.custom-modal.show {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.custom-modal-dialog {
  background-color: #fff;
  border-radius: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  margin: 20px;
}

.custom-modal-header {
  padding: 15px;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
}

.custom-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-modal-close:hover {
  color: #333;
}

.custom-modal-body {
  padding: 20px;
}

.custom-modal-footer {
  padding: 15px;
  border-top: 1px solid #ddd;
  text-align: right;
}

.custom-tabs {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  border-bottom: 1px solid #ddd;
  display: flex;
}

.custom-tab {
  margin-right: 10px;
}

.custom-tab a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #666;
  border: 1px solid transparent;
  border-bottom: none;
  cursor: pointer;
}

.custom-tab.active a {
  color: #333;
  background: #fff;
  border-color: #ddd;
  border-bottom: 1px solid #fff;
  margin-bottom: -1px;
}

.custom-tab-content {
  display: none;
}

.custom-tab-content.active {
  display: block;
}

.custom-button {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 0.8rem;

  padding: 0.8rem 1.8rem;
  font-size: 16px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  color: white;

  width: 152px;
}

.btn-back {
  background-color: transparent;
  border: 1px solid #fff;
}

.btn-back:hover,
.btn-back:focus {
  color: white;
  text-decoration: none;
}

.btn-next {
  background-color: #006cd8;
  border: 1px solid #006cd8;
}

.btn-next[disabled] {
  cursor: not-allowed;
  filter: alpha(opacity = 65);
  opacity: 0.65;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.swal-square-borders {
  border-radius: 0 !important;
}

.cert-section {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 0;
  background: #f9f9f9;
}

.cert-section h5 {
  margin: 0 0 10px 0;
  color: #337ab7;
  font-weight: bold;
}

.cert-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.cert-table td {
  padding: 4px 15px;
  border: none;
  vertical-align: top;
}

.cert-table td:first-child {
  width: 200px;
  color: #666;
  font-weight: normal;
}

.cert-table td:last-child {
  color: #333;
  word-break: break-all;
}

.fingerprint {
  font-family: "Courier New", monospace;
  font-size: 11px;
}
