/* ===== Layout geral da página de login ===== */
body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #e9f2f1;
    background: #000000;
    min-height: 100vh;
}


.login-page {
    display: grid;
    grid-template-columns: 560px 1fr;
    gap: 24px;
    min-height: 100vh;
    align-items: center;
    overflow: visible;
}


/* ===== Painel / Card ===== */
.login-panel {
    display: flex;
    margin-left: 30px;
    align-items: center;
    
}

.login-card img{
    width: 70%;
    margin: 30px;

}

.login-card {
    max-width: 450px;
    width: 100%;
    padding: 5px 20px 30px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
    display: flex;
    flex-direction: column;

}

.login-card h1 {
    margin: 4px 0 4px;
    font-size: 26px;
    color: #fff;
}

.login-card .sub {
    margin: 0 0 30px;
    color: #bfe7e4;
    font-size: 14px;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input {
    width: 90%;
    height: 40px;
    padding: 10px 10px 10px 35px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    outline: none;
}

.form-group input::placeholder {
    color: #ececec;
    width: 100%;
}

.form-group.with-icon .icon {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    opacity: .9;
    fill: #929292;
}

.btn-primary {
    height: 46px;
    border: 0;
    border-radius: 12px;
    background: #00463f;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    transition: transform .05s ease, box-shadow .2s ease, background .2s ease;
}

.btn-primary:hover {
    background: #23b6a7;
    box-shadow: 0 6px 18px rgba(35, 160, 148, .35);
}

.btn-primary:active {
    transform: translateY(1px);
}

.inline-error {
    display: none;
    margin: 2px 0 10px;
    color: #ffd9d9;
    background: rgba(250, 67, 67, .12);
    border: 1px solid rgba(250, 67, 67, .35);
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
}

.inline-error.show {
    display: block;
}

.links {
    margin-top: 10px;
    text-align: center;
}

.links a {
    color: #bfe7e4;
    text-decoration: none;
}

.links a:hover {
    text-decoration: underline;
}

/* ===== Showcase de Hexagonais ===== */
.hex-showcase{ position:relative; overflow:visible; display:grid; place-items:center; }

/* Rotor central gira tudo em um único local */
.hex-rotor{
  position:relative;
  width:min(70vmin, 760px);
  height:min(70vmin, 760px);
  animation: spin-rotor 36s linear infinite;
  transform-origin:center center;
}

/* Cada item é colocado no círculo; sem borda/quadros */
.hex{
  --R: clamp(160px, 22vmin, 240px);      /* raio da órbita (ajuste fino aqui) */
  position:absolute; top:50%; left:50%;
  transform:
    rotate(calc(var(--i) * 60deg))
    translate(var(--R))
    rotate(calc(var(--i) * -60deg));     /* orientação inicial “em pé” */
  transform-origin:center center;
  background:transparent; border:none; border-radius:0;
  will-change: transform;
}

/* Wrapper que aplica contra-rotação contínua = logos sempre na vertical */
.slot{
  display:grid; place-items:center;
  animation: spin-counter 36s linear infinite;   /* mesma duração do rotor */
  transform-origin:center center;
}

/* Logos maiores e nítidos */
.hex img{
  width: clamp(130px, 20vmin, 220px);    /* ↑ aumente/diminua conforme preferir */
  height:auto; object-fit:contain;
  filter:none; image-rendering:auto;
  user-select:none; pointer-events:none;
}

/* Animações */
@keyframes spin-rotor { to { transform: rotate(360deg); } }
@keyframes spin-counter { to { transform: rotate(-360deg); } }


/* Toasts (mantidos) */
.toast-container {
    position: fixed;
    right: 12px;
    bottom: 12px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    background: rgba(25, 25, 25, .88);
    color: #fff;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, .1);
    animation: fadeIn .25s ease;
}

.toast.success {
    background: rgba(6, 120, 89, .95);
}

.toast.info {
    background: rgba(30, 83, 120, .95);
}

.toast.error {
    background: rgba(160, 30, 30, .95);
}

