/* Reset e estilo base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to bottom, #ff7f2a 0%, #ffe3d0 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
}

.container {
  background-color: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
  text-align: left;
}

.container h1 {
  font-size: 2rem;
  color: #2a2a2a;
  margin-bottom: 1.5rem;
  text-align: center;
}

.card {
  background-color: #fafafa;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.card h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #333;
}

.card p {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  color: #444;
}

.card strong {
  color: #2a2a2a;
}

button {
  background-color: #ff7f2a;
  color: white;
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #e76c14;
}

@media (max-width: 480px) {
  .container {
    padding: 1.5rem;
  }
  .container h1 {
    font-size: 1.6rem;
  }
  .card h2 {
    font-size: 1.1rem;
  }
  .card p {
    font-size: 0.95rem;
  }
  button {
    width: 100%;
    font-size: 1rem;
  }
}

.loader {
  margin: 1rem auto;
  border: 4px solid #fff;
  border-top: 4px solid #ff7f2a;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  animation: girar 1s linear infinite;
}

@keyframes girar {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


  .botao-voltar {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.75rem 1.5rem;
    background-color: #ff7f2a;
    color: white;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
  }

  .botao-voltar:hover {
    background-color: #e56e20;
  }

  /* Modal container */
.modal-premium {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Conteúdo do modal */
.modal-premium-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 10px;
  max-width: 500px;
  position: relative;
  animation: surgir 0.3s ease-in-out;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

@keyframes surgir {
  from { transform: translateY(-30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Botão de fechar */
.modal-premium-close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #888;
  cursor: pointer;
}

/* Título e conteúdo */
.modal-premium-content h2 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #333;
}

.modal-premium-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.modal-premium-content li {
  margin-bottom: 0.5rem;
}

/* Botão Assinar agora */
#btnAssinarAgora {
  background-color: #ff7f2a;
  color: #fff;
  border: none;
  padding: 0.8rem 1.4rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 1rem;
  width: 100%;
  transition: background-color 0.2s ease-in-out;
}

#btnAssinarAgora:hover {
  background-color: #e06d1f;
}
.card-premium-chamada {
  background: #fff5eb;
  border: 1px solid #ffddb6;
  border-radius: 12px;
  padding: 1.2rem;
  margin-top: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
}

.card-premium-chamada:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.texto-premium-chamada {
  font-size: 1rem;
  color: #333;
  margin-bottom: 0.8rem;
}

.botao-premium-chamada {
  background: linear-gradient(to right, #ff7f2a, #ffae42);
  color: white;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  padding: 0.8rem 1.6rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.botao-premium-chamada:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-assinatura {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 1.2rem;
  margin-top: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.card-assinatura h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.card-assinatura .ativo {
  color: green;
  font-weight: bold;
}

.card-assinatura .cancelado {
  color: red;
  font-weight: bold;
}

.botoes-assinatura {
  margin-top: 1.2rem;
}

.botao-cancelar,
.botao-reativar {
  background: #ff7f2a;
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.botao-cancelar:hover,
.botao-reativar:hover {
  background: #e66914;
}

.botao-logout {
  margin-top: 1.5rem;
  background-color: #EC6D20;
  color: #fff;
  border: none;
  padding: 10px 16px;
  font-size: 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
}

.botao-logout:hover {
  background-color: #d65d1b;
}

.badge-peso-premium {
  background-color: #ff7f2a;
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 12px;
  margin-left: 6px;
  vertical-align: middle;
  display: none; /* Oculto por padrão */
}

.card form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.card select,
.card textarea {
  padding: 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 12px;
  width: 100%;
  resize: vertical;
}

.card button[type="submit"] {
  background-color: #ff7f2a;
  color: white;
  border: none;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.card button[type="submit"]:hover {
  background-color: #e46c17;
}

/* Badges de status da assinatura */
.status-pill {
  display: inline-block;
  padding: .25rem .6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  line-height: 1;
}

.status-pill.ativo     { background: #E8F5E9; color: #2E7D32; } /* verde */
.status-pill.pausada   { background: #FFF3E0; color: #EF6C00; } /* laranja */
.status-pill.cancelado { background: #ECEFF1; color: #455A64; } /* cinza */
.status-pill.pendente  { background: #FFFDE7; color: #F9A825; } /* amarelo */

.card-assinatura .botoes-assinatura {
  display: flex;
  gap: .5rem;
  margin-top: .75rem;
}

.botao-reativar,
.botao-cancelar,
.botao-premium-chamada {
  padding: .6rem 1rem;
  border-radius: .6rem;
  border: 0;
  cursor: pointer;
}

.botao-reativar { background: #43a047; color: #fff; }
.botao-cancelar { background: #e53935; color: #fff; }
.botao-premium-chamada { background: #ff7f2a; color: #fff; }


