/*
Theme Name: Al Ehsan Group Theme
Theme URI: https://al-ehsangrouponline.shop
Author: Al Ehsan Dev Team
Description: Custom theme for Al Ehsan Group MLM Platform
Version: 1.0.0
License: Private
Text Domain: alehsan
*/

:root {
  --bg-primary: #0D0D0D;
  --bg-secondary: #111111;
  --bg-card: #1A1A1A;
  --bg-card2: #161616;
  --gold: #C9A227;
  --accent: #E8A020;
  --gold-light: #F0C040;
  --text-primary: #FFFFFF;
  --text-secondary: #BBBBBB;
  --text-muted: #777777;
  --border-gold: rgba(201, 162, 39, 0.3);
  --border-dark: rgba(255,255,255,0.08);
  --shadow-gold: 0 0 20px rgba(201, 162, 39, 0.2);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.5);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 50px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: "Hind Siliguri", "Noto Sans Bengali", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

.ae-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 24px; border-radius: var(--radius-full);
  font-size: 14px; font-weight: 600; cursor: pointer; border: none;
  transition: all 0.3s ease;
}
.ae-btn-gold {
  background: linear-gradient(135deg, #C9A227, #E8A020);
  color: #0D0D0D;
  box-shadow: 0 4px 15px rgba(201,162,39,0.4);
}
.ae-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,162,39,0.6); }
.ae-btn-outline { background: transparent; border: 1px solid var(--gold); color: var(--gold); }
.ae-btn-outline:hover { background: var(--gold); color: #0D0D0D; }

.ae-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.ae-stat-card {
  background: var(--bg-card); border: 1px solid var(--border-gold);
  border-radius: var(--radius-md); padding: 16px 20px;
  display: flex; align-items: center; gap: 16px;
}
.ae-stat-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(201,162,39,0.2), rgba(232,160,32,0.1));
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.ae-stat-value { font-size: 22px; font-weight: 700; color: var(--gold); }
.ae-stat-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.ae-navbar {
  background: rgba(13,13,13,0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-gold); padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 999;
}
.ae-logo { display: flex; align-items: center; gap: 10px; }
.ae-logo img { height: 40px; }
.ae-logo-text { font-size: 18px; font-weight: 700; color: var(--gold); text-shadow: 0 0 10px rgba(201,162,39,0.4); }

.ae-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(17,17,17,0.98); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-gold);
  display: flex; justify-content: space-around; align-items: center;
  padding: 10px 0 env(safe-area-inset-bottom, 10px); z-index: 998;
}
.ae-bottom-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: var(--text-muted); font-size: 11px; transition: color 0.2s; flex: 1;
}
.ae-bottom-nav a.active, .ae-bottom-nav a:hover { color: var(--gold); }
.ae-bottom-nav a span.icon { font-size: 22px; }

.ae-gold-text {
  background: linear-gradient(135deg, #C9A227, #F0C040);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.ae-dashboard { min-height: 100vh; background: var(--bg-primary); padding-bottom: 80px; }
.ae-dashboard-header {
  background: linear-gradient(135deg, #111 0%, #1A1500 100%);
  border-bottom: 1px solid var(--border-gold); padding: 16px 20px;
}
.ae-page-content { padding: 20px; max-width: 480px; margin: 0 auto; }

.ae-ai-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ae-ai-tool-card {
  background: var(--bg-card); border: 1px solid var(--border-gold);
  border-radius: var(--radius-md); padding: 16px; text-align: center;
  transition: all 0.3s; cursor: pointer;
}
.ae-ai-tool-card:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); transform: translateY(-2px); }
.ae-ai-tool-icon { font-size: 32px; margin-bottom: 8px; }
.ae-ai-tool-name { font-size: 12px; color: var(--text-secondary); font-weight: 600; }

.ae-input {
  width: 100%; background: var(--bg-card2); border: 1px solid var(--border-dark);
  border-radius: var(--radius-md); padding: 12px 16px; color: var(--text-primary);
  font-size: 14px; transition: border-color 0.2s; outline: none;
}
.ae-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,0.1); }
.ae-label { font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; display: block; }
.ae-form-group { margin-bottom: 16px; }

.ae-footer { text-align: center; padding: 20px; color: var(--text-muted); font-size: 12px; border-top: 1px solid var(--border-dark); }

.ae-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--radius-full); font-size: 11px; font-weight: 600; }
.ae-badge-gold { background: rgba(201,162,39,0.2); color: var(--gold); border: 1px solid rgba(201,162,39,0.3); }
.ae-badge-green { background: rgba(46,213,115,0.15); color: #2ed573; border: 1px solid rgba(46,213,115,0.3); }
.ae-badge-red { background: rgba(255,71,87,0.15); color: #ff4757; border: 1px solid rgba(255,71,87,0.3); }

.ae-section-title {
  font-size: 16px; font-weight: 700; color: var(--text-primary);
  margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.ae-section-title::before {
  content: ""; display: inline-block; width: 4px; height: 18px;
  background: linear-gradient(#C9A227, #E8A020); border-radius: 2px;
}

@media (max-width: 768px) { .ae-page-content { padding: 16px; } .ae-stat-value { font-size: 18px; } }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }