/* =========================================
   COMPONENTS.CSS — Lightweight UI Elements
   ========================================= */

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

html, body {
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
  background: #0a0603;
  color: #FDF3E7;
}

/* Buttons */
.btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary, .btn-accent {
  background: linear-gradient(135deg, #D32F2F, #ff7028);
  color: white;
  border: 1px solid rgba(255, 112, 40, 0.3);
}

.btn-primary:hover, .btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
}

.btn-outline-primary {
  background: transparent;
  color: #ff7028;
  border: 1px solid rgba(255, 112, 40, 0.3);
}

.btn-outline-primary:hover {
  background: rgba(255, 112, 40, 0.1);
  border-color: #ff7028;
}

/* Navbar links */
.nav-link {
  color: rgba(253, 243, 231, 0.7);
  transition: color 0.2s ease;
  text-decoration: none;
}

.nav-link:hover {
  color: #FDF3E7;
}

.nav-link.active {
  color: #FDF3E7;
  font-weight: 700;
}

/* Profile elements */
.profile-initial {
  background: linear-gradient(135deg, #D32F2F, #ff7028);
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 112, 40, 0.2);
}

/* Cards */
.card {
  background: rgba(20, 10, 8, 0.9);
  border: 1px solid rgba(255, 112, 40, 0.15);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.card:hover {
  border-color: rgba(255, 112, 40, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* Container */
.container, .container-fluid {
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Links */
a {
  color: #ff7028;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #FDF3E7;
}

/* Text utilities */
.text-muted {
  color: rgba(253, 243, 231, 0.6) !important;
}

.text-primary {
  color: #ff7028 !important;
}

/* Spacing utilities */
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }
.py-3 { padding-top: 1rem; padding-bottom: 1rem; }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-5 { padding-top: 2rem; padding-bottom: 2rem; }

/* Flexbox utilities */
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.flex-column { flex-direction: column; }
.flex-grow-1 { flex-grow: 1; }

/* Display utilities */
.d-none { display: none; }
.d-block { display: block; }

/* Responsive utilities */
@media (min-width: 768px) {
  .d-md-flex { display: flex; }
  .d-md-none { display: none; }
}

@media (min-width: 992px) {
  .d-lg-flex { display: flex; }
  .d-lg-none { display: none; }
}
