.details-open-data {
  border: 1px solid #fff;
  border-radius: 5px;
  margin-bottom: 5px;
  background: #fff;
  padding: 10px;
}

#box-deitail-off-opndata{
  padding: 0;
}

summary {
  padding: 15px;
  cursor: pointer;
  font-weight: bold;
  background: #e8f0fe;
  border-bottom: 1px solid #ddd;
  list-style: none;
  border-radius: 10px 10px 0 0;
}
summary::marker {
  display: none;
}

summary:hover {
  background: #d0e1ff;
}

.summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px 10px 0 0;
  background: none;
}

.summary-header:hover {
  background: none !important;
}

.endpoint {
  border-top: 1px solid #ddd;
  padding: 30px;
  background: #e5e5e5;
  border-radius: 0 0 10px 10px;
}
.method {
  background: #61affe;
  color: white;
  padding: 5px 10px;
  border-radius: 3px;
  font-weight: bold;
  margin-right: 10px;
}
.url {
  font-family: monospace;
  font-weight: bold;
}
.label-param {
  display: block;
  margin-top: 10px;
  font-weight: 600;
}
.input-param {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.div-buttons-opendt {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  font-size: 14px;
  font-weight: bold;
}
.btn-clear-data,
.btn-executar {
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 90px;
}

.btn-executar {
  background: #61affe;
  color: white;
}
.btn-executar:hover {
  background: #1661ad;
  color: white;
}
.btn-executar:disabled {
  background: #cccccc;
  cursor: not-allowed;
}
.btn-clear-data {
  background: #ccc;
  color: #333;
}
.btn-clear-data:hover {
  background: #ababab;
  color: #ffffff;
}
.response {
  background: #272822;
  color: #f8f8f2;
  padding: 10px;
  margin-top: 20px;
  border-radius: 4px;
  white-space: pre-wrap;
  overflow-x: auto;
  overflow-y: auto;
  max-height: 400px;
  position: relative;
  min-height: 50px;
}

.loading-spinner {
  position: absolute;
  top: 47%;
  left: 50%;
  width: 45px;
  height: 45px;
  margin: -20px 0 0 -20px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top-color: #3498db;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  z-index: 1;
}

.error {
  color: #ff6b6b;
}
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  position: absolute;
  left: 10px;
  top: 10px;
}
.input-param.readonly-style {
  background-color: #e9ecef;
  color: #6c757d;
  cursor: not-allowed;
  border: 1px solid #ced4da;
  pointer-events: none;
}

.btn-copy-download {
  margin: 10px 0 5px;
  display: flex;
  gap: 10px;
  justify-content: end;
}

.btn-copy-download button {
  padding: 6px 10px;
  font-size: 1rem;
  cursor: pointer;
  background: #61affe;
  border-radius: 6px;
}

.btn-copy-download button:hover{
  background: #1661ad;
  color: white;
}

.hidden {
  display: none !important;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
