@charset "UTF-8";

/* ========================================================
 * DevGive Platform - Core Custom Styling
 * Vivid Gradients, Modern Glassmorphism, Rounded UI
 * ======================================================== */

:root {
  --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
  --cyan-blue-gradient: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --purple-pink-gradient: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --dark-indigo-gradient: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #0f172a 100%);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(226, 232, 240, 0.85);
  --glass-shadow: 0 10px 30px -5px rgba(99, 102, 241, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --glass-shadow-hover: 0 20px 35px -5px rgba(99, 102, 241, 0.18), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #f8fafc;
  background-image: 
    radial-gradient(at 10% 10%, rgba(99, 102, 241, 0.07) 0px, transparent 50%),
    radial-gradient(at 90% 15%, rgba(6, 182, 212, 0.08) 0px, transparent 50%),
    radial-gradient(at 50% 90%, rgba(236, 72, 153, 0.06) 0px, transparent 50%);
  background-attachment: fixed;
  color: #1e293b;
  min-height: 100vh;
  margin: 0;
}

/* Glassmorphism Navigation */
.glass-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* Glass Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 1.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-hover);
  border-color: rgba(165, 180, 252, 0.85);
}

/* Gradients */
.bg-gradient-primary {
  background: var(--primary-gradient) !important;
}

.bg-gradient-cyan {
  background: var(--cyan-blue-gradient) !important;
}

.bg-gradient-dark {
  background: var(--dark-indigo-gradient) !important;
}

.bg-gradient-purple {
  background: var(--purple-pink-gradient) !important;
}

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Pill Badges */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  background: rgba(224, 231, 255, 0.65);
  border: 1px solid rgba(199, 210, 254, 0.85);
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 600;
  color: #4338ca;
}

.pill-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6366f1;
  box-shadow: 0 0 8px #6366f1;
}

/* Pill Buttons */
.btn-pill {
  border-radius: 9999px !important;
  font-weight: 600;
  padding: 0.55rem 1.35rem;
  font-size: 0.925rem;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-pill-primary {
  background: var(--primary-gradient);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.39);
}

.btn-pill-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 20px 0 rgba(99, 102, 241, 0.48);
  transform: translateY(-2px);
}

.btn-pill-cyan {
  background: var(--cyan-blue-gradient);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 14px 0 rgba(6, 182, 212, 0.35);
}

.btn-pill-cyan:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 20px 0 rgba(6, 182, 212, 0.45);
  transform: translateY(-2px);
}

.btn-pill-dark {
  background: var(--dark-indigo-gradient);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px 0 rgba(15, 23, 42, 0.25);
}

.btn-pill-dark:hover {
  filter: brightness(1.15);
  box-shadow: 0 6px 20px 0 rgba(15, 23, 42, 0.35);
  transform: translateY(-2px);
}

.btn-pill-outline {
  background: rgba(255, 255, 255, 0.9);
  color: #1e293b !important;
  border: 1px solid #cbd5e1;
}

.btn-pill-outline:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a !important;
}

/* Stat Cards */
.stat-widget {
  border-radius: 1.25rem;
  padding: 1.35rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.stat-widget:hover {
  transform: translateY(-3px);
  box-shadow: var(--glass-shadow-hover);
}

.stat-widget-green {
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.95) 0%, rgba(209, 250, 229, 0.7) 100%);
  border: 1px solid rgba(167, 243, 208, 0.85);
}

.stat-widget-amber {
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.95) 0%, rgba(254, 243, 199, 0.7) 100%);
  border: 1px solid rgba(253, 230, 138, 0.85);
}

.stat-widget-blue {
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.95) 0%, rgba(219, 234, 254, 0.7) 100%);
  border: 1px solid rgba(191, 219, 254, 0.85);
}

.stat-widget-purple {
  background: linear-gradient(135deg, rgba(250, 245, 255, 0.95) 0%, rgba(243, 232, 255, 0.7) 100%);
  border: 1px solid rgba(233, 213, 255, 0.85);
}

/* Sidebar styling */
.dashboard-sidebar {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  border-radius: 1.25rem;
  border: 1px solid rgba(226, 232, 240, 0.85);
  padding: 1.5rem 1rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.85rem;
  color: #475569;
  font-weight: 500;
  font-size: 0.925rem;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-bottom: 0.35rem;
}

.sidebar-link:hover {
  background: rgba(238, 242, 255, 0.85);
  color: #4338ca;
}

.sidebar-link.active {
  background: var(--primary-gradient);
  color: #ffffff !important;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Category Badge */
.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748b;
  background: #f1f5f9;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
}

/* Form Inputs */
.form-control-saas {
  border-radius: 0.85rem;
  border: 1px solid #cbd5e1;
  padding: 0.7rem 1.15rem;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.92);
  transition: all 0.2s ease;
}

.form-control-saas:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
  background: #ffffff;
}

/* Project Card Images */
.project-card-img {
  width: 100%;
  height: 13rem;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.glass-card:hover .project-card-img {
  transform: scale(1.03);
}

/* Tech stack pills */
.tech-pill {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 0.5rem;
  background: #f1f5f9;
  color: #475569;
  font-weight: 600;
  display: inline-block;
}

/* Progress bar glowing effect */
.progress-glow {
  height: 0.75rem;
  border-radius: 9999px;
  background: #e2e8f0;
  overflow: hidden;
}

.progress-glow .progress-bar {
  background: var(--primary-gradient);
  transition: width 0.3s ease;
}

/* Table styling */
.table-glass {
  background: transparent;
}

.table-glass thead th {
  background: rgba(241, 245, 249, 0.8);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  padding: 0.9rem 1rem;
  border: none;
}

.table-glass tbody td {
  padding: 1rem;
  vertical-align: middle;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

/* Smooth avatar */
.avatar-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
