/* THE REBEL SQUAD - Dark Yellow Glass Theme */

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

/* Body Center Alignment */
body {
  margin: 0;
  background: #0B0F1A;
  color: #f1f5f9;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Main content center */
main.main {
  flex: 1; /* navbar আর footer বাদ দিয়ে বাকি height নিবে */
  display: flex;
  justify-content: center;   /* horizontal center */
  align-items: center;       /* vertical center */
  padding: 2rem;
}


/* Section container সুন্দর box আকারে */
.section {
  max-width: 900px;
  width: 100%;
  background: #111;
  border: 1px solid #ffd70030;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.1);
}



/* Navbar */
header {
  background: #0a0a0a;
  border-bottom: 2px solid #ffd70030;
  padding: 0.8rem 0;
}

header nav {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
}



/* Left side (logo + brand) */
header nav .nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

header nav .nav-left img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

header nav .nav-left .brand {
  font-size: 20px;
  font-weight: 700;
  color: #ffd700;
}

/* Right side (home button) */
header nav .nav-right a {
  background: #ffd700;
  padding: 7px 16px;
  border-radius: 8px;
  color: #111;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

header nav .nav-right a:hover {
  background: #ffae00;
  color: #000;
}


/* Section Title */
.section h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #ffd700;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

/* Tool Container */
.tool-container {
  background: rgba(17, 17, 17, 0.8);
  border: 1px solid #ffd70030;
  border-radius: 14px;
  padding: 2rem;
  margin-top: 1rem;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.12);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tool-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 35px rgba(255, 215, 0, 0.25);
}

/* Input Section */
.input-section label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
  color: #ffd700;
}
textarea {
  width: 100%;
  min-height: 150px;
  padding: 12px;
  background: #000;
  border: 1px solid #333;
  border-radius: 10px;
  color: #f5f5f5;
  outline: none;
  font-size: 14px;
  resize: vertical;
}
textarea:focus {
  border-color: #ffd700;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.35);
  background: #0a0a0a;
}

/* Controls (Buttons) */
.controls {
  margin-top: 1rem;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
button {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}
button i { margin-right: 5px; }

.btn.primary { background: #ffd700; color: #111; }
.btn.primary:hover { background: #ffae00; }

.btn.danger { background: #ff3d3d; color: #fff; }
.btn.danger:disabled { background: #441414; cursor: not-allowed; }

.btn.secondary { background: #222; color: #eee; }
.btn.secondary:hover { background: #444; }

/* Progress Bar */
.progress-container {
  margin-top: 1rem;
  width: 100%;
  background: #222;
  border-radius: 8px;
  overflow: hidden;
}
#progress-bar {
  height: 10px;
  width: 0%;
  background: linear-gradient(90deg, #ffd700, #ffae00);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

/* Stats Cards */
.stats {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(120px,1fr));
  gap: 1rem;
}
.stat-card {
  background: rgba(26, 26, 26, 0.9);
  border: 1px solid #ffd70020;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  transition: 0.3s;
  backdrop-filter: blur(6px);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(255,215,0,0.25);
}
.stat-icon {
  font-size: 1.6rem;
  margin-bottom: 6px;
}
.stat-info h3 {
  font-size: 1rem;
  color: #ffd700;
}
.stat-info span {
  font-size: 1.2rem;
  font-weight: bold;
}

/* Filter Buttons */
.filter-controls {
  margin-top: 2rem;
}
.filter-controls h3 {
  color: #ffd700;
  margin-bottom: 0.5rem;
}
.filter-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-btn {
  flex: 1;
  background: #222;
  color: #eee;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}
.filter-btn:hover {
  background: #333;
}
.filter-btn.active {
  background: #ffd700;
  color: #111;
  font-weight: bold;
  box-shadow: 0 0 12px rgba(255,215,0,0.35);
}

/* Results Box */
.results {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(10, 10, 10, 0.9);
  border-radius: 10px;
  border: 1px solid #ffd70030;
  min-height: 120px;
  overflow-y: auto;
  max-height: 300px;
  font-size: 14px;
  line-height: 1.5;
  backdrop-filter: blur(6px);
}

/* Footer */
footer {
  background: #0a0a0a;
  border-top: 2px solid #ffd70030;
  padding: 1.5rem;
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
}
