/* ==========================
   Fontes Personalizadas
============================= */
@font-face {
  font-family: 'RalewayRegular';
  src: url('fonts/Raleway-Regular.ttf');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'RalewayLight';
  src: url('fonts/Raleway-ExtraLight.ttf');
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: 'RalewayBold';
  src: url('fonts/Raleway-Bold.ttf');
  font-weight: bold;
  font-style: normal;
}

/* ==========================
   Layout Global
============================= */
html, body {
  margin: 0;
  padding: 0;
  min-width: 1200px;
  background: url('../imgs/bg-top.jpg?') no-repeat center center fixed;
  background-size: cover;
  font-family: 'RalewayRegular', sans-serif;
  color: #000;
  font-size: 14px;
}

/* ==========================
   Links e Botões
============================= */
a {
  color: #000;
  text-decoration: none;
  transition: 0.2s;
}
a:hover {
  color: #fff;
}

.button, .button.success, .button.large {
  display: inline-block;
  background: linear-gradient(to bottom, #343c61, #1f2333);
  border: 1px solid #000;
  padding: 10px 15px;
  color: #fff;
  font-weight: bold;
  border-radius: 0;
  box-shadow: 0 2px 3px rgba(0,0,0,0.5);
  transition: 0.3s;
  cursor: pointer;
  text-align: center;
}
.button.success {
  background: linear-gradient(to bottom, #2a7d2e, #0f3f14);
}
.button.large {
  padding: 15px 25px;
  font-size: 16px;
}
.button:hover {
  filter: brightness(1.2);
  box-shadow: 0 0 10px rgba(255,255,255,0.2);
}

/* ==========================
   Alertas
============================= */
.alert {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.85);
  padding: 30px;
  z-index: 9999;
  border-radius: 0;
  text-align: center;
  font-size: 16px;
  width: 300px;
}
.alert.success {
  color: #2fc90a;
}
.alert.error {
  color: #f00;
}

/* ==========================
   Menu Lateral
============================= */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 95px;
  height: 100vh;
  background: #1e2031;
  border-right: 1px solid #000;
  transition: width 0.3s;
  overflow: hidden;
  z-index: 1000;
  border-radius: 0;
}
.sidebar:hover {
  width: 390px;
}
.sidebar .menu-item {
  padding: 15px 20px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s;
  cursor: pointer;
  border-radius: 0;
}
.sidebar .menu-item:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.sidebar .menu-item.active {
  background: #343c61;
  color: #fff;
}
.sidebar .menu-item.disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* ==========================
   Painel do Usuário
============================= */
.user-panel {
  background: linear-gradient(to bottom, #1f2333, #0e0f18);
  padding: 20px;
  border-bottom: 1px solid #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  border-radius: 0;
}
.user-panel .avatar {
  width: 60px;
  height: 60px;
  border-radius: 0;
  overflow: hidden;
  margin-right: 15px;
}
.user-panel .balance {
  font-size: 16px;
  font-weight: bold;
  color: #fffb99;
}

/* ==========================
   Área Principal
============================= */
.main {
  margin-left: 95px;
  padding: 30px;
  background: rgba(0,0,0,0.7);
  min-height: 100vh;
  border-radius: 0;
}

.form {
  margin: 0 auto;
  max-width: 600px;
  padding: 20px;
  background: #1f2333;
  border-radius: 0;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.form input, .form select {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  background: #0e0f18;
  border: 1px solid #343c61;
  color: #fff;
  border-radius: 0;
}

/* ==========================
   Utilitários
============================= */
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-left {
  text-align: left;
}
.mt-20 {
  margin-top: 20px;
}
.mb-20 {
  margin-bottom: 20px;
}
.flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rounded {
  border-radius: 0;
}
.shadow {
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* ==========================
   Cores Temáticas
============================= */
.theme-black {
  background: #000;
  color: #fff;
  border-radius: 0;
}
.theme-blue {
  background: #343c61;
  color: #fff;
  border-radius: 0;
}
.theme-green {
  background: #2a7d2e;
  color: #fff;
  border-radius: 0;
}
.theme-red {
  background: #8b1c1c;
  color: #fff;
  border-radius: 0;
}
.theme-purple {
  background: #5a2a82;
  color: #fff;
  border-radius: 0;
}

/* ==========================
   Fim do Código
============================= */