  :root {
    --roxo: #7C59CC;
    --azul: #6E44FF;
    --verde: #00DDC2;
    --laranja: #FFBA08;
    --bg-light: #f9f9f9;
    --text-light: #333333;
    --card-light: #ffffff;
    --shadow-light: rgba(0, 0, 0, 0.12);

    --bg-dark: #121212;
    --text-dark: #e0e0e0;
    --card-dark: #1e1e1e;
    --shadow-dark: rgba(255, 255, 255, 0.06);
  }

  * {
    transition: background-color 0.6s ease, color 0.6s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    box-sizing: border-box;
  }

html, body {
  margin: 0;
  padding: 0;
  height: 100dvh;
  width: 100vw;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-light);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
body.dark-theme {
  background-color: var(--bg-dark);
  color: var(--text-dark);
}


  .container {
  display: flex;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  box-shadow: 0 8px 24px var(--shadow-light);
  border-radius: 0;
  background-color: var(--card-light);
}
body.dark-theme .container {
  background-color: var(--card-dark);
  box-shadow: 0 8px 24px var(--shadow-dark);
}


  .left-panel {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertical center */
    align-items: center;     /* horizontal center */
    background-color: var(--card-light);
    text-align: center;
  }
  body.dark-theme .left-panel {
    background-color: var(--card-dark);
  }

  #container {
    width: 280px;
    height: 120px;
    user-select: none;
    margin-bottom: 48px;
  }

  svg {
    width: 100%;
    height: 120px;
    overflow: visible;
    display: block;
  }

  path, circle {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .cls-1 { stroke: #00ddb3; }
  .cls-2 { stroke: #745fcd; }
  .cls-3 { stroke: #745fff; }
  .cls-4 { stroke: #f7931e; }

  /* Preenchimentos inicialmente invisíveis */
  .fill-1, .fill-2, .fill-3, .fill-4 {
    fill-opacity: 0;
    stroke-width: 3;
  }

  .fill-1 { fill: #00ddb3; }
  .fill-2 { fill: #745fcd; }
  .fill-3 { fill: #745fff; }
  .fill-4 { fill: #f7931e; }

  input {
    padding: 16px;
    border-radius: 100px;
    border: 1.8px solid #ddd;
    font-size: 17px;
    background-color: var(--bg-light);
    color: var(--text-light);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.04);
    width: 280px;
  }
  body.dark-theme input {
    background-color: var(--card-dark);
    color: var(--text-dark);
    border-color: #444;
    box-shadow: inset 0 2px 6px rgba(255,255,255,0.05);
  }
  input:focus {
    outline: none;
    border-color: var(--azul);
    box-shadow: 0 0 12px rgba(110, 68, 255, 0.5);
  }

  button.next {
    margin-top: 16px;
    padding: 16px 0;
    border: none;
    width: 280px;
    background: linear-gradient(270deg, var(--azul), var(--roxo), var(--laranja));
    background-size: 600% 600%;
    color: white;
    font-size: 19px;
    font-weight: 600;
    border-radius: 100px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(110, 68, 255, 0.3);
    transition: box-shadow 0.4s ease, transform 0.2s ease;
    animation: gradientAnimation 10s ease infinite;
  }
  button.next:hover {
    box-shadow: 0 8px 20px rgba(255, 186, 8, 0.6);
    transform: scale(1.04);
  }

  @keyframes gradientAnimation {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
  }

  .step {
    display: none;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 280px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    margin: 0 auto;
  }
  .step.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .social-row {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    gap: 28px;
  }
  .social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 26px;
    user-select: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  }
  .social-icon:hover {
    transform: scale(1.15);
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.15);
  }

  .social-icon.google { color: #EA4335; }
  .social-icon.tiktok { color: #EE1D52; }
  .social-icon.github { color: #181717; }
  .social-icon.microsoft { color: #0078D4; }

  .right-panel {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: linear-gradient(270deg, var(--azul), var(--roxo), var(--laranja), var(--azul));
    background-size: 800% 800%;
    animation: gradientShift 20s ease infinite;
    color: white;
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    user-select: none;
  }

  .right-panel::before {
    content: "";
    position: absolute;
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    width: 220px;
    height: 220px;
    background: rgba(255 255 255 / 0.15);
    border-radius: 50%;
    filter: blur(40px);
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: top 0.15s ease, left 0.15s ease;
    z-index: 1;
  }

  #motivacao {
    position: relative;
    z-index: 2;
    font-size: 1.6rem;
    line-height: 1.4;
    text-align: center;
    padding: 0 10px;
    white-space: normal;
    word-break: break-word;
    animation: fadeIn 1s ease-in-out;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

  /* Botão de tema */
  .theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--card-light);
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--roxo);
    padding: 10px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 12px rgba(124, 89, 204, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    transition: background-color 0.6s ease, color 0.6s ease, box-shadow 0.6s ease, transform 0.3s ease;
    z-index: 100;
  }
  body.dark-theme .theme-toggle {
    background: var(--card-dark);
    color: var(--laranja);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.5);
  }
  .theme-toggle:hover {
    transform: scale(1.15);
    color: var(--verde);
    box-shadow: 0 6px 16px rgba(0, 221, 194, 0.6);
  }

  /* Form oculto até animação acabar */
  #form-container {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
#label-pass{
    float: left !important;
}
@media screen and (max-width: 768px) {
  .container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100dvh;
    width: 100vw;
    padding: 20px;
    overflow: auto;
  }

  .left-panel {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .right-panel {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    position: absolute !important;
    pointer-events: none !important;
  }

  input, button.next {
    width: 100%;
    max-width: 320px;
    font-size: 1rem;
  }

  .theme-toggle {
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
}
