@import url('https://fonts.googleapis.com/css2?family=PingFang+SC:wght@400;500;600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-main: #111111;
  --bg-card: #1c1c1c;
  --bg-input: #2a2a2a;
  --primary: #00C853; /* Verde Solicitado */
  --text-main: #ffffff;
  --text-muted: #888888;
  --border: #333333;
}

* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
  font-family: 'Inter', sans-serif; 
  -webkit-user-select: none; /* Safári */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE10+/Edge */
  user-select: none;         /* Padrão */
  -webkit-touch-callout: none; /* Remove menu de clique longo no iOS */
}

/* Permite seleção e digitação normal em campos de texto */
input, textarea {
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;
}
body { background: var(--bg-main); color: var(--text-main); padding-bottom: 60px; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* REPSOL STYLE TOPBAR */
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 20px; background: var(--bg-main); position: sticky; top: 0; z-index: 10;
}
.topbar-logo { font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.topbar-lang { background: rgba(255,255,255,0.1); padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; }
.topbar-lang span.active { color: var(--primary); font-weight: bold; }

/* REPSOL STYLE BOTTOM NAV */
.tab-bar {
  position: fixed; bottom: 0; width: 100%; background: var(--bg-card);
  display: flex; justify-content: space-around; padding: 10px 0;
  border-top: 1px solid var(--border); z-index: 100;
}
.tab-item { text-align: center; color: var(--text-muted); font-size: 0.75rem; }
.tab-item.active { color: var(--primary); }
.tab-icon { font-size: 1.4rem; margin-bottom: 4px; display: block; }

/* REPSOL STYLE BANNER */
.banner-container { padding: 0 15px; margin-bottom: 20px; overflow: hidden; border-radius: 12px; }

/* REPSOL STYLE QUICK ACTIONS */
.quick-actions { display: flex; justify-content: space-around; padding: 0 15px; margin-bottom: 25px; }
.action-item { text-align: center; }
.action-icon { width: 45px; height: 45px; border-radius: 50%; background: rgba(0, 200, 83, 0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin: 0 auto 8px; border: 1px solid var(--primary); }
.action-text { font-size: 0.8rem; font-weight: 500; }

/* REPSOL STYLE PROFILE HEADER */
.profile-header {
  background: linear-gradient(135deg, #111, #1a2f20);
  padding: 30px 20px 20px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.profile-user { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: bold; color: #000; }
.user-info h2 { font-size: 1.1rem; margin-bottom: 5px; }
.user-phone { font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.vip-badge { background: rgba(255,255,255,0.2); padding: 3px 8px; border-radius: 12px; font-size: 0.75rem; color: #fff; }

/* REPSOL PROFILE BALANCE TABS */
.profile-balances { display: flex; justify-content: space-between; text-align: center; margin-bottom: 20px; }
.bal-item { flex: 1; }
.bal-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 5px; }
.bal-value { font-size: 1.2rem; font-weight: bold; color: var(--primary); }

/* REPSOL PROFILE MENU LIST */
.profile-menu { padding: 15px; }
.menu-item {
  background: var(--bg-card); padding: 18px 20px; border-radius: 10px;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px; font-size: 0.95rem; font-weight: 500;
}
.menu-item-left { display: flex; align-items: center; gap: 12px; }
.menu-icon { font-size: 1.2rem; color: var(--text-muted); }

/* REPSOL STYLE PRODUCTS (INVEST) */
.product-list { padding: 15px; }
.product-card {
  background: var(--bg-card); border-radius: 12px; padding: 15px; margin-bottom: 15px;
  border: 1px solid var(--border); position: relative; overflow: hidden;
}
.product-header { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.product-img { width: 50px; height: 50px; border-radius: 50%; background: #fff; padding: 5px; }
.product-name { font-size: 1.1rem; font-weight: bold; color: var(--primary); }
.product-desc { font-size: 0.8rem; color: var(--text-muted); }

.product-details { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 15px; }
.p-detail { text-align: left; }
.p-lbl { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 4px; }
.p-val { font-size: 1rem; font-weight: bold; }

.btn-buy { background: var(--primary); color: #000; border: none; width: 100%; padding: 12px; border-radius: 8px; font-weight: bold; font-size: 0.9rem; cursor: pointer; }
.btn-buy:disabled { background: var(--border); color: var(--text-muted); }

/* URGENCY & GAMIFICATION */
.urgency-badge { position: absolute; top: 10px; right: 10px; background: rgba(255,0,0,0.1); color: #ff4444; padding: 4px 8px; border-radius: 4px; font-size: 0.7rem; font-weight: bold; border: 1px solid #ff4444; }
.progress-container { width: 100%; background: var(--bg-input); height: 6px; border-radius: 3px; margin: 10px 0; overflow: hidden; }
.progress-bar { height: 100%; background: var(--primary); }

/* REPSOL DEPOSIT PAGE */
.dep-card-wrap { padding: 15px; }
.dep-card { background: linear-gradient(135deg, #1c1c1c, #111); border: 1px solid var(--primary); border-radius: 15px; padding: 25px 20px; margin-bottom: 25px; position: relative; overflow: hidden; }
.dep-card::after { content:''; position:absolute; right:-20px; bottom:-20px; width:100px; height:100px; background:radial-gradient(circle, rgba(0,200,83,0.2) 0%, transparent 70%); }
.dep-label { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 10px; }
.dep-val { font-size: 2rem; font-weight: bold; }

.input-section { margin-bottom: 25px; }
.input-title { font-size: 0.9rem; margin-bottom: 10px; border-left: 3px solid var(--primary); padding-left: 8px; font-weight: bold; }
.dep-input { width: 100%; background: var(--bg-card); border: 1px solid var(--border); padding: 15px; border-radius: 8px; color: #fff; font-size: 1rem; }
.dep-input:focus { outline: none; border-color: var(--primary); }

.presets { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.preset-btn { background: var(--bg-input); border: 1px solid var(--border); color: #fff; padding: 10px 15px; border-radius: 6px; font-weight: bold; flex: 1 1 calc(33% - 10px); text-align: center; cursor: pointer; }
.preset-btn.active { background: var(--primary); color: #000; border-color: var(--primary); }

/* TOAST PROVA SOCIAL */
.social-proof {
  position: fixed; top: 60px; left: 50%; transform: translateX(-50%) translateY(-20px);
  background: rgba(28,28,28,0.95); border: 1px solid var(--primary);
  padding: 10px 15px; border-radius: 20px; display: flex; align-items: center; gap: 10px;
  z-index: 1000; opacity: 0; pointer-events: none; transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5); width: 90%; max-width: 350px;
}
.social-proof.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.sp-icon { width: 30px; height: 30px; background: rgba(0,200,83,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.sp-text { font-size: 0.8rem; }
.sp-text strong { color: var(--primary); }
/* FORMS AUTH */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(circle at top right, #00441b, var(--bg-main) 60%);
}

.auth-box { 
  background: rgba(28, 28, 28, 0.6);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 25px; 
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.auth-logo-area {
  text-align: center;
  margin-bottom: 25px;
}
.auth-logo-icon {
  font-size: 3.5rem;
  margin-bottom: 5px;
  background: -webkit-linear-gradient(#00C853, #00ff6a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-title { font-size: 1.6rem; font-weight: 800; text-align: center; margin-bottom: 25px; letter-spacing: -0.5px; }

.form-group { margin-bottom: 18px; position: relative; }
.form-control { 
  width: 100%; 
  background: rgba(0, 0, 0, 0.3); 
  border: 1px solid rgba(255, 255, 255, 0.1); 
  padding: 16px 20px; 
  border-radius: 12px; 
  color: #fff; 
  font-size: 1rem; 
  transition: 0.3s all ease;
}
.form-control:focus { outline: none; border-color: var(--primary); background: rgba(0, 200, 83, 0.05); box-shadow: 0 0 0 4px rgba(0, 200, 83, 0.1); }

.btn-submit { 
  width: 100%; 
  background: linear-gradient(90deg, var(--primary), #00e65b);
  color: #000; 
  border: none; 
  padding: 16px; 
  border-radius: 12px; 
  font-weight: bold; 
  font-size: 1.1rem; 
  margin-top: 15px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 200, 83, 0.3);
  transition: 0.3s all ease;
}
.btn-submit:active { transform: scale(0.98); }

