header {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.header-container {
  max-width: 1900px;
  width: 100%;
  padding: 16px 40px 16px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 700px) {
  .header-container {
    padding: 13px 13px 13px 0px;
  }
}

.logo {
  width: 170px;
}

.header-container .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 0;
}

@media (max-width: 700px) {
  .logo {
    width: 130px;
  }
}

.points:hover {
  scale: 1.03;
}

.points {
  display: flex;
  padding: 10px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #fff;
  cursor: pointer;
  transition: 0.2s;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 700px) {
  .points {
    display: none;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-container .header-actions {
  margin-right: 0;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  align-items: center;
  flex-grow: 1;
}

#loggedInActions {
  align-items: center;
  gap: 1rem;
}

.user-dropdown-wrapper {
  position: relative;
  display: flex;
  text-align: left;
}

@media (min-width: 700px) {
  .user-dropdown-wrapper {
    margin-left: 16px;
  }
}

.user-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.user-button:hover {
  background-color: #f9fafb;
}

.user-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  background-color: #fff;
  cursor: pointer;
  white-space: nowrap;
}

.user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(63, 146, 255, 0.5);
  padding: 4px;
}

.user-creditos {
  background-color: #fef3c7;
  color: #92400e;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
}

.user-nome {
  font-weight: 600;
}

@media (max-width: 700px) {
  .user-nome {
    font-size: 14px;
    max-width: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.user-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
  z-index: 50;
}

.user-dropdown.show {
  display: block;
}

.user-dropdown-header {
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.user-dropdown-header .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(63, 146, 255, 0.5);
}

.user-dropdown-wrapper {
  position: relative;
  display: flex;
  text-align: left;
}

@media (min-width: 700px) {
  .user-dropdown-wrapper {
    margin-left: 16px;
  }
}

.dropdown-nome {
  font-weight: 600;
  font-size: 18px;
}

.dropdown-creditos {
  font-size: 14px;
  color: #4b5563;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-body {
  padding: 8px;
}

.dropdown-body button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 4px;
  color: #374151;
  transition: background-color 0.2s ease;
}

.dropdown-body button:hover {
  background-color: #f3f4f6;
}

.dropdown-body .logout {
  color: #ef4444;
}

.header .logout-btn {
  background-color: #f44336;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.header .logout-btn:hover {
  background-color: #d32f2f;
}

.gp-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
  padding: 5px;
}

.gp-modal-content {
  background: white;
  border-radius: 12px;
  padding: 24px 24px 34px 24px;
  max-width: 650px;
  width: 95%;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: gp-fadeIn 0.3s ease-in-out;
}

@media (max-width: 700px) {
  .gp-modal-content {
    max-height: 80vh;
    overflow-y: auto;
    padding: 14px;
    flex-direction: column;
  }
}

.gp-modal-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 35px;
  color: #e53e3e;
}

.gp-modal-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.gp-modal-list li {
  display: flex;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid rgb(231, 231, 231);
  margin-bottom: 10px;
}

.gp-modal-icon {
  font-size: 26px;
  margin-top: 4px;
  margin-right: 10px;
}

.gp-modal-label {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 2px;
}

.gp-modal-desc {
  font-size: 13px;
  margin-bottom: 8px;
  color: #666;
}

.gp-modal-copy-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 10px;
}

.gp-modal-box {
  display: flex;
  width: 100%;
  flex-direction: column;
}

.gp-badge-wrapper {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.gp-badge-recompensa {
  background: linear-gradient(to right, #facc15, #f97316);
  color: #1a202c;
  text-align: center;
  font-weight: 700;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 9999px;
  animation: gp-pulse-badge 1.8s infinite;
  box-shadow: 0 0 0 rgba(250, 204, 21, 0.6);
}

@keyframes gp-pulse-badge {
  0% {
    box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.6);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(250, 204, 21, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(250, 204, 21, 0);
  }
}

.gp-modal-input {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #f9fafb;
  word-break: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;
}

.gp-btn-secondary {
  padding: 10px 16px;
  margin-left: 10px;
  background-color: #10b981;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.gp-modal-botoes {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 12px;
  margin-top: 16px;
}

.gp-modal-ou {
  font-size: 14px;
  color: #6b7280;
}

.gp-btn-primary {
  margin-top: 6px;
  background: #16a34a;
  color: white;
  border: none;
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
}

.gp-btn-primary:hover,
.gp-btn-secondary:hover {
  background: #4f46e5;
}

.gp-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 33px;
  color: #999;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 700px) {
  .gp-modal-copy-wrapper {
    flex-direction: row;
    align-items: center;
  }

  .gp-modal-input {
    flex: 1;
  }

  .gp-btn-secondary {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

@media (max-width: 700px) {
  .gp-btn-secondary {
    margin-left: 0px;
    margin-top: 10px;
  }
}

@keyframes gp-fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}