﻿body{
  margin:0;
  background:#000;
  color:#9ae6b4;
  font-family:Arial, sans-serif;
}

.app{
  max-width:390px;
  margin:auto;
  padding:20px;
  min-height:100vh;
}

/* LOGIN / CADASTRO */
#authScreen{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:100vh;
  flex-direction:column;
}

.auth-view{ width:100%; }

.auth{
  width:100%;
  max-width:360px;
  padding:24px;
  margin:0 auto;
}

.logo{
  text-align:center;
  font-size:1.4rem;
  font-weight:800;
  color:#22c55e;
  margin-bottom:24px;
}

.auth-form{ margin:0; }

.input-group{
  margin-bottom:14px;
}

label{
  display:block;
  font-size:.7rem;
  opacity:.7;
  margin-bottom:6px;
}

input, select{
  width:100%;
  background:#020617;
  border:1px solid rgba(34,197,94,.4);
  border-radius:10px;
  padding:12px;
  color:#9ae6b4;
  outline:none;
}

input::placeholder{
  color:#6ee7b7;
  opacity:.4;
}

button{
  width:100%;
  background:#22c55e;
  color:#000;
  border:none;
  border-radius:10px;
  padding:12px;
  font-weight:700;
  margin-top:12px;
}

.link{
  text-align:center;
  font-size:.75rem;
  margin-top:14px;
  opacity:.8;
}

.link a{
  color:#22c55e;
  text-decoration:none;
}

.auth-message{
  width:100%;
  max-width:360px;
  margin:8px auto 0;
  color:#fca5a5;
  font-size:.8rem;
  text-align:center;
  min-height:1rem;
}

/* HOME DO JOGADOR */
.pending-box{
  border:1px solid rgba(250,204,21,.35);
  color:#fde68a;
  border-radius:10px;
  padding:10px;
  margin-bottom:12px;
}
.pending-box p{ margin:6px 0 0; font-size:.85rem; }

.main-profile{
  text-align:center;
  padding:20px 0 28px 0;
  border-bottom:1px solid rgba(34,197,94,.25);
}

.avatar{
  width:96px;
  height:96px;
  border-radius:50%;
  border:2px solid #22c55e;
  object-fit:cover;
  margin-bottom:12px;
  background:#03180b;
}

.name{
  font-size:1.3rem;
  font-weight:700;
  color:#22c55e;
}

.team{
  font-size:.9rem;
  opacity:.8;
  margin-bottom:18px;
}

.stats{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:8px;
}

.stat{
  border:1px solid rgba(34,197,94,.35);
  border-radius:10px;
  padding:8px 4px;
}

.value{
  font-size:1rem;
  font-weight:700;
  color:#22c55e;
}

.label{
  font-size:.65rem;
  opacity:.7;
}

.team-list{
  margin-top:22px;
}

.section-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
}

.section-title{
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:.5px;
  opacity:.6;
}

.section-actions{ display:flex; gap:8px; }
.ghost-btn{
  width:auto;
  margin-top:0;
  border:1px solid rgba(34,197,94,.3);
  background:#000;
  color:#9ae6b4;
  border-radius:8px;
  padding:6px 10px;
  font-size:.75rem;
}

.player-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 0;
  border-bottom:1px solid rgba(34,197,94,.2);
  gap:8px;
}

.player-left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.player-avatar{
  width:36px;
  height:36px;
  border-radius:50%;
  border:1px solid rgba(34,197,94,.5);
  object-fit:cover;
  background:#03180b;
}

.player-name{
  font-size:.9rem;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.player-stats{
  display:flex;
  gap:8px;
  font-size:.7rem;
  opacity:.8;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.player-stats span{
  border:1px solid rgba(34,197,94,.3);
  padding:3px 6px;
  border-radius:6px;
}

.empty-state{ opacity:.7; font-size:.85rem; padding:10px 0; }

@media (max-width:360px){
  .stats{ gap:6px; }
  .player-stats{ gap:6px; }
}
