:root {
  --rosa: #f491a3;
  --rosa-claro: #f8b7c6;
  --coral: #f18c73;
  --laranja: #dc8651;
  --verde: #a2ac6d;
  --bege: #ebd6d2;
  --vinho: #c15157;
  --cinza-escuro: #2d2d2d;
  --cinza-claro: #f5f5f5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: #444;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  margin: 0;
}

body {
  padding-top: 80px;
}


.container {
  max-width: 1200px;
  margin: auto;
}
.header {
  position: sticky;
  top: 0;
}

/* =============== Tabela Billings ===================*/

.container-billings {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


.tb-titulos {
  background: #fff;
  position: sticky;
  left: 0;
  z-index: 2;
  font-weight: 600;
  min-width: 110px;
}

.titulo{
  margin-right: 15px;
  text-align: left;
}




.texto-deitado {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 13px;
}

/*
.texto-deitado {
  transform: rotate(-90deg);
  display: inline-block; 
}

.tb-dados {
    
    padding: 5px;
    text-align: center;
    font-size: 14px;
    border:1px solid var(--rosa-claro);
}

.tb-dados-d {
    
    text-align: center;
    font-size: 14px;
    height: 150px;
    border:1px solid var(--rosa-claro);
    white-space: nowrap;
}
*/

.tb-dados {
  min-width: 45px;
}

.tb-dados-d {
  height: 130px;
  min-width: 55px;
}
.billings-table {
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
  min-width: 900px; /* força tabela legível */
}

.billings-table th,
.billings-table td {
  border: 1px solid var(--rosa-claro);
  padding: 6px;
  text-align: center;
}


/* símbolo Billings */
.billings-table .symbol {
  font-weight: bold;
  font-size: 15px;
}

.billings-intencao {
    margin-bottom: 15px;
    padding: 10px 15px;
    background: var(--bege);
    border-left: 5px solid var(--vinho);
    font-size: 14px;
    border-radius: 6px;
}

.billings-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: 10px;
  box-shadow: inset 0 0 8px rgba(0,0,0,.05);
}



/* =========================================================== */

.billings-history {
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,.06);
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.history-header h2 {
    margin: 0;
    font-size: 1.3rem;
}

.month-selector {
    display: flex;
    gap: 6px;
}

.month-selector select,
.month-selector button {
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.month-selector button {
    background: var(--vinho);
    color: #fff;
    border: none;
    cursor: pointer;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
}

.history-table th {
    background: #f7f7f7;
    padding: 8px;
    font-weight: 600;
}

.history-table td {
    padding: 8px;
    text-align: center;
}

.history-table tr:nth-child(even) {
    background: #fafafa;
}

.phase-infertile td { background: rgba(162,172,109,.15); }
.phase-fertile td   { background: rgba(244,145,163,.18); }
.phase-peak td      { background: rgba(193,81,87,.22); color:#fff; }
.phase-post td      { background: rgba(241,140,115,.20); }

.billings-legend {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.legend {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: .85rem;
    color: #fff;
}



/* cores por fase */
.phase-infertile {
  background: #f3f7e8;
}

.phase-fertile {
  background: #fde4ea;
}

.phase-peak {
  background: #f4c2c6;
  font-weight: bold;
}

.phase-post {
  background: #ffe7de;
}

/* título */
.table-title {
  margin-bottom: 15px;
  font-size: 20px;
  color: var(--vinho);
}



.col-day {
    width: 50px;
}

.col-symbol {
    width: 90px;
    font-weight: bold;
}

.col-sensation {
    width: 130px;
}

.col-appearance {
    width: 130px;
}

.col-observations {
    width: auto;
    text-align: left;
    padding-left: 6px;
}

/* ====== CORES CLÍNICAS ====== */

.phase-infertile {
    background: #eef1e3;
}

.phase-fertile {
    background: #fde4ea;
}

.phase-peak {
    background: #f3c2c5;
    font-weight: bold;
}

.phase-post {
    background: #fde1d6;
}


.legend.fertile { background: var(--rosa); }
.legend.infertile { background: var(--verde); }
.legend.peak { background: var(--vinho); }
.legend.post { background: var(--coral); }


/* ==================== HEADER ==================== */

.header {
  background: linear-gradient(135deg, var(--rosa) 0%, #f8a5b8 100%);
  padding: 18px 0;
  box-shadow: 0 2px 12px rgba(244, 145, 163, 0.15);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: transform 0.3s ease;
}
.footer-grid,
.footer-logged {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
      margin-right: 15px;
    margin-left: 15px;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo span {
  color: var(--vinho);
  font-weight: 800;
}

.menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.menu a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
}

.menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

.menu a:hover::after {
  width: 100%;
}

.btn-login {
  background: #fff;
  color: var(--rosa) !important;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ==================== HERO ==================== */

.hero {
  background: linear-gradient(135deg, var(--rosa-claro) 0%, var(--bege) 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 48px;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--cinza-escuro);
  font-weight: 700;
}

.hero-text h1 span {
  color: var(--vinho);
  background: linear-gradient(120deg, var(--vinho), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #555;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--rosa) 0%, var(--coral) 100%);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(244, 145, 163, 0.3);
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(244, 145, 163, 0.4);
}

.btn-outline {
  display: inline-block;
  border: 2.5px solid var(--rosa);
  color: var(--rosa);
  padding: 12px 26px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 16px;
}

.btn-outline:hover {
  background: var(--rosa);
  color: #fff;
  transform: translateY(-3px);
}

.hero-image {
  text-align: center;
  animation: float 3s ease-in-out infinite;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* ==================== FEATURES ==================== */

.features {
  padding: 80px 0;
  background: #fff;
}

.features h2,
.plans h2,
.courses h2,
.cta h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: var(--cinza-escuro);
  font-weight: 700;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background: #fff;
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
  border-top: 4px solid transparent;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rosa), var(--coral));
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--cinza-escuro);
  font-weight: 700;
}

.card p {
  color: #666;
  line-height: 1.7;
  font-size: 15px;
}

/* ==================== PLANS ==================== */

.plans {
  background: linear-gradient(180deg, var(--bege) 0%, rgba(235, 214, 210, 0.5) 100%);
  /*padding: 80px 0;*/
}

.annual-wrapper {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.plan.annual {
  max-width: 400px;
  border: 2px solid var(--verde);
}


.subtitle {
  text-align: center;
  margin-top: -30px;
  margin-bottom: 50px;
  color: #777;
  font-size: 16px;
}

.plan {
  background: #fff;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.plan h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--cinza-escuro);
  font-weight: 700;
}

.plan .price {
  font-size: 32px;
  font-weight: 800;
  color: var(--rosa);
  margin: 15px 0 25px;
}

.plan ul {
  list-style: none;
  margin: 25px 0;
  padding: 0;
  flex-grow: 1;
}

.plan ul li {
  margin-bottom: 12px;
  color: #555;
  font-size: 14px;
  font-weight: 500;
}

.plan ul li::before {
  content: '✓ ';
  color: var(--verde);
  font-weight: 800;
  margin-right: 8px;
}

.plan.free {
  border: 2px solid #e0e0e0;
}

.plan.premium {
  border: 2px solid var(--rosa);
  transform: scale(1.08);
  box-shadow: 0 10px 40px rgba(244, 145, 163, 0.2);
}

.plan.premium:hover {
  transform: scale(1.08) translateY(-8px);
}

.plan.pro {
  border: 2px solid #e0e0e0;
}

.plan:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.plan.premium:hover {
  transform: scale(1.08) translateY(-8px);
  box-shadow: 0 15px 45px rgba(244, 145, 163, 0.25);
}

.tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--rosa), var(--coral));
  color: #fff;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 25px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(244, 145, 163, 0.3);
  letter-spacing: 0.5px;
}

.btn-secondary {
  display: inline-block;
  background: var(--verde);
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 15px;
  margin-top: 15px;
}

.btn-secondary:hover {
  background: #8f9b5a;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(162, 172, 109, 0.3);
}

/* ==================== COURSES ==================== */

.courses {
  padding: 80px 0;
  background: #fff;
}

.course-card {
  background: linear-gradient(135deg, rgba(244, 145, 163, 0.1), rgba(241, 140, 115, 0.1));
  padding: 40px 30px;
  border-radius: 15px;
  border: 2px solid rgba(244, 145, 163, 0.2);
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: rgba(162, 172, 109, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.course-card:hover::before {
  top: -25%;
  right: -25%;
}

.course-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--cinza-escuro);
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.course-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.course-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(135deg, rgba(244, 145, 163, 0.15), rgba(241, 140, 115, 0.15));
  box-shadow: 0 10px 30px rgba(244, 145, 163, 0.15);
  border-color: var(--rosa);
}

/* ==================== CTA ==================== */

.cta {
  background: linear-gradient(135deg, var(--rosa) 0%, var(--coral) 50%, var(--laranja) 100%);
  padding: 80px 0;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 0;
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 0;
}

.cta-box {
  position: relative;
  z-index: 1;
}

.cta-box h2 {
  font-size: 40px;
  margin-bottom: 15px;
  font-weight: 800;
}

.cta-box p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.95;
  line-height: 1.6;
}

.cta .btn-primary {
  background: #fff;
  color: var(--rosa);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta .btn-primary:hover {
  background: #f5f5f5;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* ==================== FOOTER ==================== */


.footer {
  background: linear-gradient(135deg, var(--vinho) 0%, #a83f46 100%);
  color: #fff;
  padding: 50px 0 20px;
  width: 100%;
}


.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 30px;
  position: relative;
}

.footer h3,
.footer h4 {
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 16px;
}

.footer p {
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.6;
}

.footer a {
  display: block;
  color: #fff;
  text-decoration: none;
  margin-top: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  opacity: 0.85;
}

.footer a:hover {
  opacity: 1;
  transform: translateX(5px);
}

.copy {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  opacity: 0.8;
}

.footer-logged {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.footer-menu {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-menu a {
  font-size: 14px;
  opacity: 0.9;
}

.footer-menu a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-menu .logout {
  color: #ffd6db;
  font-weight: 600;
}


/* ==================== AUTH ==================== */

.auth {
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--rosa-claro), var(--bege));
}

.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.auth-info h2 {
  font-size: 40px;
  margin-bottom: 15px;
  color: var(--cinza-escuro);
}

.auth-info p {
  font-size: 18px;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.8;
}

.auth-info img {
  max-width: 100%;
}

.auth-box {
  background: #fff;
  padding: 50px 40px;
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0,0,0,.12);
}

.auth-box h3 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 24px;
  color: var(--cinza-escuro);
}

.auth-form .form-group {
  margin-bottom: 20px;
}

.auth-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #555;
}

.auth-form input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1.8px solid #ddd;
  font-size: 15px;
  transition: all .3s ease;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--rosa);
  box-shadow: 0 0 0 3px rgba(244,145,163,.2);
}

.full {
  width: 100%;
}

.auth-footer {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #666;
}

.auth-footer a {
  color: var(--rosa);
  font-weight: 600;
  text-decoration: none;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.alert.error {
  background: rgba(193,81,87,.12);
  color: var(--vinho);
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 14px;
  text-align: center;
}

/* ==================== BILLINGS DASHBOARD ==================== */

.billings-summary {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.summary-card {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,.08);
  text-align: center;
}

.summary-card h4 {
  font-size: 14px;
  color: #777;
  margin-bottom: 8px;
}

.summary-card p {
  font-size: 20px;
  font-weight: 700;
  color: var(--vinho);
}

.billings-graph-box {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}

.billings-legend {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.legend {
  padding: 6px 14px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.legend.fertile { background: var(--rosa); }
.legend.infertile { background: var(--verde); }
.legend.peak { background: var(--vinho); }
.legend.post { background: var(--coral); }

@media(max-width:900px){
  .billings-summary {
    grid-template-columns: repeat(2,1fr);
  }
}

.user-name {
    margin-right: 15px;
    font-weight: 500;
    color: #444;
}

.btn-logout {
    background: #f491a3;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
}

.btn-logout:hover {
    opacity: 0.9;
}


.billings-interpretation {
  margin: 30px 0;
  padding: 20px 25px;
  background: linear-gradient(135deg, rgba(244,145,163,.12), rgba(241,140,115,.12));
  border-left: 6px solid var(--rosa);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,.06);
  font-size: 16px;
  color: #444;
  font-weight: 500;
}

.billings-form {
  max-width: 480px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
 /* display: block;*/
  font-weight: 600;
 /* margin-bottom: 6px;*/
  color: var(--vinho);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  font-size: 14px;
}

.form-group small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  opacity: .7;
}

.btn-primary {
 /* width: 100%;*/
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--rosa), var(--laranja));
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(0,0,0,.1);
}
/*
.billings-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: calc(100vh - 140px);
}
*/

.billings-symbols{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.symbol-option{
    cursor:pointer;
    text-align:center;
}

.symbol-option input{
    display:none;
}

.symbol-box{
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
    border:1px solid #ccc;
}

/* CORES */

.sym-sangue{ background:red; color:white; }
.sym-borra{ background:#b30000; color:white; }
.sym-infertil{ background:#eee; }
.sym-yellow{ background:yellow; }
.sym-green{ background:#9aff9a; }
.sym-white{ background:white; }

/* seleção */

.symbol-option input:checked + .symbol-box{
    border:3px solid #007bff;
    transform:scale(1.1);
}

/* Linha inteira clicável */
.symbol-row{
    display:flex;
    align-items:center;
    gap:12px;
    cursor:pointer;
  /*  padding:6px 8px;*/
    border-radius:6px;
    transition:0.2s;
}

.symbol-row:hover{
    background:#f3f3f3;
}

/* Esconde radio padrão */
.symbol-row input{
    display:none;
}

/* Quadrado do símbolo */
.symbol-box{
    width:32px;
    height:32px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
    border:1px solid #ccc;
}

/* Texto */
.symbol-label{
    font-size:14px;
}

/* Selecionado */
.symbol-row input:checked + .symbol-box{
    border:2px solid #007bff;
    transform:scale(1.05);
}

.symbol-row input:checked + .symbol-box{
    background:#007bff;
    color:white;
}



.novo-ciclo{
  margin: 10px;
}

.billings-layout {
    display: flex;
    width: 100%;
    max-width: 100%;
    flex: 1;
}

.billings-sidebar {
    background: linear-gradient(180deg, #f491a3, #c15157);
    color: #fff;
    padding: 25px 15px;
}

.billings-sidebar h3 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 20px;
}

.billings-menu a {
    display: block;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.25s;
}

.billings-menu a:hover {
    background: rgba(255,255,255,0.18);
    transform: translateX(4px);
}

.hamburger {
    width: 32px;
    height: 24px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 10px;
}

.hamburger span:nth-child(3) {
    top: 20px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 10px;
}


@media (max-width: 1000px) {

    .billings-layout {
        grid-template-columns: 1fr;
    }

    .billings-sidebar {
        position: fixed;
        top: 0;
        left: -260px; /* escondido */
        width: 240px;
        height: 100vh;
        background: linear-gradient(180deg, #f491a3, #c15157);
        box-shadow: 2px 0 10px rgba(0,0,0,0.15);
        transition: left 0.3s ease;
        z-index: 1000;
    }

    .billings-sidebar.active {
        left: 0;
    }

    .hamburger {
        display: block;
    }

    .logo{
      display: none;
    }
}

.billings-top-bar {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}


.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.table-box {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(0,0,0,.08);
    overflow-x: auto;
}




.obs {
    max-width: 280px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-edit {
    background: var(--rosa);
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    text-decoration: none;
}

.empty-box {
    background: #fff;
    padding: 40px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 5px 18px rgba(0,0,0,.08);
}

.btn-success {
  background: #28a745;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
}

.btn-warning {
  background: #ffc107;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
}

.btn-danger {
  background: #dc3545;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
}


.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table th,
.table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 8px;
}

.promo-card {
    background: #fff;
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    max-width: 420px;
    margin: 25px 0;
}

.promo-card h3 {
    margin-bottom: 8px;
    color: var(--vinho);
}

.promo-desc {
    font-size: 14px;
    opacity: 0.75;
    margin-bottom: 18px;
}

.promo-form {
    display: flex;
    gap: 10px;
}

.promo-form input {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 15px;
}

.promo-form input:focus {
    border-color: var(--vinho);
    outline: none;
}

.access-card {
    background: linear-gradient(135deg, #f9f4f4, #fff);
    border-left: 5px solid var(--vinho);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.badge-active {
    background: #e6f7e6;
    color: #2c7a2c;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    display: inline-block;
    margin-top: 8px;
}

.promo-group input {
    border: 2px dashed var(--vinho);
    background: #fff8f8;
}

.btn-edit{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:30px;
    height:30px;
    border-radius:8px;
    background:#f3f3f3;
    text-decoration:none;
    font-size:14px;
    transition:0.2s;
}

.btn-edit:hover{
    background:#e2e2e2;
}

.student-item {
display:flex;
justify-content:space-between;
align-items:center;
padding:12px 0;
border-bottom:1px solid #eee;
}

.actions {
display:flex;
gap:10px;
}




@media (max-width: 900px) {
  .auth-grid {
    grid-template-columns: 1fr;
  }

  .auth-info {
    text-align: center;
  }

  .auth-info img {
    max-width: 80%;
    margin: auto;
  }
}

/* MOBILE */
.billings-mobile {
  display: none;
}

@media (max-width: 768px) {

  .billings-table {
    display: none;
  }

  .billings-mobile {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .billings-card {
    background: #fff;
    border-left: 5px solid var(--vinho);
    padding: 14px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,.07);
  }

  .card-header {
    font-weight: 700;
    color: var(--vinho);
    margin-bottom: 8px;
    font-size: 15px;
  }

  .card-row {
    font-size: 14px;
    margin-bottom: 4px;
  }
}




/* ==================== RESPONSIVO ==================== */

@media (max-width: 1024px) {
  .hero-grid {
    gap: 30px;
  }

  .hero-text h1 {
    font-size: 40px;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu {
    gap: 15px;
  }

  .menu a {
    font-size: 13px;
  }

  .hero {
    padding: 60px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero::before {
    display: none;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .plan.premium {
    transform: scale(1);
  }

  .plan.premium:hover {
    transform: translateY(-8px);
  }

  .features,
  .courses,
  .plans {
    padding: 60px 0;
  }

  .features h2,
  .plans h2,
  .courses h2,
  .cta h2 {
    font-size: 28px;
    margin-bottom: 35px;
  }

  .card,
  .plan,
  .course-card {
    padding: 25px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .cta {
    padding: 60px 0;
  }

  .cta-box h2 {
    font-size: 28px;
  }

  .cta-box p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 22px;
  }

  .menu {
    gap: 10px;
  }

  .menu a {
    font-size: 12px;
  }

  .btn-login {
    padding: 8px 12px;
    font-size: 12px;
  }

  .hero-text h1 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .hero-text p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .btn-primary,
  .btn-outline,
  .btn-secondary {
    padding: 10px 18px;
    font-size: 14px;
  }

  .card h3,
  .course-card h3 {
    font-size: 18px;
  }

  .plan h3 {
    font-size: 20px;
  }

  .plan .price {
    font-size: 24px;
  }

  .features h2,
  .plans h2,
  .courses h2 {
    font-size: 22px;
  }

  .cta-box h2 {
    font-size: 22px;
  }

  .cta-box p {
    font-size: 14px;
  }
}
