.senha-container {
  max-width: 420px;
  margin: 60px auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 26px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  padding: 1.75rem;
}

.senha-header {
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  color: #922a69;
  letter-spacing: 0.08em;
}

#msg-atualiza-senha {
  margin: 10px 0;
  min-height: 24px;
}

.form-group-senha {
  margin-bottom: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group-senha label {
  font-weight: 600;
  color: #6f6472;
}

.form-group-senha input[type="text"],
.form-group-senha input[type="password"] {
  width: 100%;
  padding: 0 1rem;
  height: 48px;
  border: 1px solid rgba(31, 20, 34, 0.16);
  border-radius: 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group-senha input[type="text"]:focus,
.form-group-senha input[type="password"]:focus {
  border-color: #c55596;
  box-shadow: 0 0 0 3px rgba(197, 85, 150, 0.2);
  outline: none;
}

.senha-container .btn,
.modal-senha .btn {
  cursor: pointer;
  padding: 0.85rem 1.2rem;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.senha-container .btn-primary,
.modal-senha .btn-primary {
  background: linear-gradient(120deg, #c55596, #8d2c63);
  color: #fff;
  box-shadow: 0 20px 40px rgba(197, 85, 150, 0.35);
}

.senha-container .btn-success,
.modal-senha .btn-success {
  background: linear-gradient(120deg, #1f8c32, #146227);
  color: #fff;
  width: 100%;
  box-shadow: 0 20px 40px rgba(20, 98, 39, 0.35);
}

.modal-senha {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-senha[style*="block"] {
  display: flex !important;
}

.modal-senha-content {
  background: rgba(255, 255, 255, 0.97);
  width: min(420px, 100%);
  border-radius: 24px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.modal-senha-close {
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 1.6rem;
  cursor: pointer;
  color: #6f6472;
}

@media (max-width: 480px) {
  .senha-container {
    margin: 1.5rem;
    padding: 1.25rem;
  }
}
