@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&display=swap');

:root{
  --primary:#4f46e5;
  --secondary:#06b6d4;
  --accent:#22c55e;
  --dark:#0f172a;
  --muted:#64748b;
  --bg:#f8fafc;
  --white:#ffffff;
  --radius:16px;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Manrope',sans-serif;
}

body{
  background:var(--bg);
  color:var(--dark);
}

/* ================= HEADER ================= */
.header{
  position:sticky;
  top:0;
  z-index:1000;
  background:#ffffffcc;
  backdrop-filter:blur(12px);
  border-bottom:1px solid #e5e7eb;
}

.nav{
  max-width:1200px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 20px;
}

.logo{
  font-size:1.5rem;
  font-weight:700;
  color:var(--primary);
}

.menu a{
  margin-left:20px;
  text-decoration:none;
  color:var(--dark);
  font-weight:500;
}

.menu a:hover{
  color:var(--primary);
}

/* ================= HERO ================= */
.hero{
  height:65vh;
  position:relative;
  overflow:hidden;
}

.slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  background-repeat: no-repeat;
  opacity:0;
  transition:opacity 1.2s ease-in-out;
}

.slide.active{opacity:1;}

/* ===== TEXT ANIMATION ===== */


/* ===== SLIDER DOTS ===== */
.slider-dots {
  position:absolute;
  bottom:30px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:12px;
  z-index:5;
}

.dot {
  width:12px;
  height:12px;
  border-radius:50%;
  background:rgba(255,255,255,0.4);
  cursor:pointer;
  transition:0.3s;
}

.dot.active {
  background:#fff;
  transform:scale(1.2);
}


.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    120deg,
    rgba(15,23,42,.85),
    rgba(79,70,229,.75)
  );
}


.hero-content{
  position:relative;
  z-index:2;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  max-width:1200px;
  margin:auto;
  padding:20px;
  color:white;
}

.hero-content h1{
  font-size:3.2rem;
  max-width:700px;
}

.hero-content p{
  font-size:1.15rem;
  margin-top:15px;
  max-width:600px;
  color:#e5e7eb;
}

.btn{
  display:inline-block;
  margin-top:30px;
  padding:14px 34px;
  border-radius:50px;
  background:linear-gradient(135deg,var(--secondary),var(--primary));
  color:white;
  text-decoration:none;
  font-weight:600;
  width:max-content;
  transition:.3s;
}

.btn:hover{
  transform:translateY(-3px);
}

.hero-content h1,
.hero-content p,
.hero-content .btn {
  opacity: 0;
  transform: translateY(30px);
}

.slide.active .hero-content h1 {
  animation: textIn 0.9s ease forwards;
}

.slide.active .hero-content p {
  animation: textIn 0.9s ease forwards;
  animation-delay: 0.2s;
}

.slide.active .hero-content .btn {
  animation: textIn 0.9s ease forwards;
  animation-delay: 0.4s;
}

@keyframes textIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== HERO CTA BUTTON HOVER EFFECT ===== */
.hero .btn {
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

.hero .btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.25),
    rgba(255,255,255,0)
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.hero .btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 15px 35px rgba(79,70,229,0.45);
}

.hero .btn:hover::after {
  opacity: 1;
}
/* ===== BREADCRUMB ===== */ 
.breadcrumb-bar {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.breadcrumb-bar .container {
  max-width: 1200px;
  margin: auto;
  padding: 14px 20px;
  font-size: 0.95rem;
}

.breadcrumb-bar a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb-bar span {
  margin: 0 6px;
  color: var(--muted);
}

.breadcrumb-bar .current {
  color: var(--dark);
  font-weight: 600;
} 
/* ===== ACTIVE MENU ===== */
.menu a.active {
  color: var(--primary);
  font-weight: 700;
  position: relative;
}

.menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  border-radius: 10px;
}

.stat h3 {
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ================= SECTIONS ================= */
.section{
  padding:90px 20px;
}

.container{
  max-width:1200px;
  margin:auto;
}

.section-title{
  text-align:center;
  margin-bottom:60px;
}

.section-title h2{
  font-size:2.3rem;
}

.section-title p{
  margin-top:10px;
  color:var(--muted);
}

/* ================= CARDS ================= */
.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:30px;
}

.card{
  background:white;
  padding:35px;
  border-radius:var(--radius);
  box-shadow:0 20px 40px rgba(15,23,42,.06);
  transition:.35s;
}

.card:hover{
  transform:translateY(-8px);
}

/* ===== WHY WORKFLOWX SECTION ===== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-box {
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.feature-box h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-box p {
  color: var(--muted);
  line-height: 1.7;
}

/* Gradient overlay */
.feature-box::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.feature-box * {
  position: relative;
  z-index: 1;
}

/* Hover effect */
.feature-box:hover {
  transform: translateY(-12px);
  color: #fff;
}

.feature-box:hover p {
  color: #e0e7ff;
}

.feature-box:hover::before {
  opacity: 1;
}

/* Individual gradients */
.feature-blue::before {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.feature-purple::before {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
}

.feature-green::before {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}


/* ===== OUR PROCESS ===== */

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.process-step {
  background: #ffffff;
  padding: 35px;
  border-radius: 18px;
  position: relative;
  transition: 0.35s;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.process-step span {
  position: absolute;
  top: -18px;
  right: 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 50%;
}

.process-step h4 {
  margin-top: 10px;
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.process-step p {
  color: var(--muted);
  line-height: 1.7;
}

.process-step:hover {
  transform: translateY(-10px);
}
/* ===== MOBILE MENU ===== */

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark);
  margin: 4px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Mobile Styles */
@media (max-width: 768px) {

  .menu-toggle {
    display: flex;
  }

  .menu {
    position:absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    flex-direction: column;
    align-items:center;

    max-height: 0;
    
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
    border-bottom: 1px solid #e5e7eb;
    z-index: 999;
  }

  .menu a {
    padding: 16px;
    width: 30%;
    text-align: center;
    border-top: 1px solid #f1f5f9;
  }

  .menu.open {
    max-height: 500px;
  }
}


/* ================= STATS ================= */
.stats{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:30px;
}

.stat{
  background:linear-gradient(135deg,#eef2ff,#ecfeff);
  padding:40px;
  border-radius:var(--radius);
  text-align:center;
}

.stat h3{
  font-size:2.2rem;
  color:var(--primary);
}

/* ================= FOOTER (KEEPING YOUR LIKED STYLE) ================= */
.footer{
  background:#0f172a;
  color:#cbd5f5;
  padding:70px 20px;
}

.footer-grid{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:40px;
}

.footer h4{
  color:white;
  margin-bottom:15px;
}

.footer a{
  color:#cbd5f5;
  text-decoration:none;
  display:block;
  margin-bottom:8px;
}

.footer-bottom{
  text-align:center;
  margin-top:50px;
  border-top:1px solid #1e293b;
  padding-top:20px;
  font-size:.9rem;
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){
  .hero-content h1{font-size:2.2rem;}
}


/* ===== SERVICES PAGE ===== */

/* ===== SERVICE CARDS (REFINED) ===== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.service-card {
  background: #ffffff;
  padding: 42px 36px;
  border-radius: 22px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  transition: all 0.4s ease;
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
  line-height: 1.7;
}

/* Gradient overlay */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.service-card * {
  position: relative;
  z-index: 1;
}

/* Hover */
.service-card:hover {
  transform: translateY(-12px);
  color: #fff;
}

.service-card:hover p {
  color: #e0e7ff;
}

.service-card:hover::before {
  opacity: 1;
}

/* Individual Gradients */
.sc-blue::before {
  background: linear-gradient(135deg, #2563eb, #1e40af);
}

.sc-purple::before {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
}

.sc-green::before {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.sc-orange::before {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.sc-cyan::before {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.sc-pink::before {
  background: linear-gradient(135deg, #ec4899, #db2777);
}


/* ===== HELP SECTION ===== */

/* ===== HELP SECTION REDESIGN ===== */

.help-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.help-card {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  padding: 22px 26px;
  border-radius: 16px;
  font-weight: 600;
  color: var(--dark);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  transition: 0.35s;
}

.help-card:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  transform: translateY(-6px);
}


/* ===== CTA SECTION ===== */

.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.2rem;
}

.cta-section p {
  margin: 12px 0 30px;
  opacity: 0.95;
}

/* ===== SERVICES HERO ===== */

.service-hero {
  background: linear-gradient(135deg, #eef2ff, #ecfeff);
  padding: 90px 20px 70px;
  text-align: center;
}

.service-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dark);
}

.service-hero p {
  max-width: 700px;
  margin: 18px auto 0;
  font-size: 1.1rem;
  color: var(--muted);
}

/* ===== APPLY FORM WIZARD ===== */

.form-wrapper {
  max-width: 520px;
  margin: auto;
  background: #fff;
  padding: 40px;
  border-radius: 22px;
  box-shadow: 0 20px 45px rgba(15,23,42,0.08);
}

.form-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
}

.form-subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 30px;
}

/* Progress */
.progressbar {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 40px;
}

.progressbar::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  height: 4px;
  width: 100%;
  background: #e5e7eb;
  transform: translateY(-50%);
}

.progress {
  position: absolute;
  top: 50%;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg,var(--primary),var(--secondary));
  transform: translateY(-50%);
  transition: 0.4s;
}

.progress-step {
  width: 34px;
  height: 34px;
  background: #e5e7eb;
  border-radius: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.progress-step.active {
  background: linear-gradient(135deg,var(--primary),var(--secondary));
  color: #fff;
}

/* Steps */
.form-step {
  display: none;
  animation: fadeIn 0.4s ease;
}

.form-step.active {
  display: block;
}

@keyframes fadeIn {
  from {opacity:0; transform:translateY(10px);}
  to {opacity:1; transform:translateY(0);}
}

.form-step input,
.form-step select,
.form-step textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 14px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.form-step h3 {
  margin-bottom: 20px;
}

/* Buttons */
.btn-group {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.btn.submit {
  background: linear-gradient(135deg,var(--primary),var(--secondary));
  color: #fff;
}

/* Checkbox */
.check {
  display: flex;
  margin-bottom: 12px;
  font-weight: 500;
}

/* ===== AUTH (LOGIN) PAGE ===== */

.auth-wrapper {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  background: #ffffff;
  width: 100%;
  max-width: 420px;
  padding: 40px 36px;
  border-radius: 22px;
  box-shadow: 0 20px 45px rgba(15,23,42,0.1);
  text-align: center;
}

.auth-card h2 {
  font-size: 2rem;
  font-weight: 800;
}

.auth-subtitle {
  color: var(--muted);
  margin: 10px 0 30px;
}

/* Floating input */
.input-group {
  position: relative;
  margin-bottom: 22px;
}

.input-group input {
  width: 100%;
  padding: 16px 14px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  outline: none;
  font-size: 1rem;
}

.input-group label {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.9rem;
  background: #fff;
  padding: 0 6px;
  pointer-events: none;
  transition: 0.3s;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
  top: -8px;
  font-size: 0.75rem;
  color: var(--primary);
}

/* Login Button */
.auth-btn {
  width: 100%;
  margin-top: 10px;
  background: linear-gradient(135deg,var(--primary),var(--secondary));
  color: #fff;
}

/* Footer links */
.auth-footer {
  margin-top: 24px;
  font-size: 0.9rem;
}

.auth-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.auth-footer span {
  margin: 0 8px;
  color: var(--muted);
}
/* ===== USER DASHBOARD ===== */

.dashboard {
  background: #f8fafc;
}

.dashboard-container {
  display: flex;
  min-height: 90vh;
}

/* Sidebar */
.sidebar {
  width: 240px;
  background: #0f172a;
  color: #cbd5f5;
  padding: 30px 20px;
}

.sidebar-logo {
  color: #fff;
  margin-bottom: 30px;
}

.sidebar nav a {
  display: block;
  padding: 12px 14px;
  margin-bottom: 8px;
  border-radius: 10px;
  color: #cbd5f5;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.sidebar nav a:hover,
.sidebar nav a.active {
  background: linear-gradient(135deg,var(--primary),var(--secondary));
  color: #fff;
}

/* Main */
.dashboard-main {
  flex: 1;
  padding: 30px;
}

/* Header */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.dashboard-header span {
  color: var(--muted);
}

/* Stats */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15,23,42,0.08);
}

.stat-card h4 {
  color: var(--muted);
  margin-bottom: 8px;
}

.stat-card p {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg,var(--primary),var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Sections */
.dashboard-section {
  margin-bottom: 40px;
}

/* Task */
.task-card {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 30px rgba(15,23,42,0.08);
}

/* Table */
.report-table {
  width: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15,23,42,0.08);
}

.report-table th,
.report-table td {
  padding: 14px;
  text-align: left;
}

.report-table thead {
  background: #f1f5f9;
}

.success {
  color: #16a34a;
  font-weight: 600;
}

/* Responsive */
@media(max-width: 900px){
  .dashboard-container {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    display: flex;
    overflow-x: auto;
  }
  .sidebar nav {
    display: flex;
    gap: 10px;
  }
}

/* ===== ADMIN DASHBOARD ===== */

.admin-badge {
  background: linear-gradient(135deg,var(--primary),var(--secondary));
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Application cards */
.application-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: 20px;
}

.app-card {
  padding: 24px;
  border-radius: 16px;
  color: #fff;
  text-align: center;
  font-weight: 700;
}

.app-card p {
  font-size: 1.8rem;
  margin-top: 8px;
}

.app-card.pending {
  background: linear-gradient(135deg,#f59e0b,#d97706);
}

.app-card.approved {
  background: linear-gradient(135deg,#22c55e,#16a34a);
}

.app-card.rejected {
  background: linear-gradient(135deg,#ef4444,#dc2626);
}

/* Quick actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 20px;
}

.action-card {
  background: #ffffff;
  padding: 22px;
  border-radius: 16px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(15,23,42,0.08);
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  color: var(--dark);
}

.action-card:hover {
  background: linear-gradient(135deg,var(--primary),var(--secondary));
  color: #fff;
  transform: translateY(-6px);
}

/* ===== ABOUT US ===== */

.about-hero {
  background: linear-gradient(135deg, #eef2ff, #ecfeff);
  padding: 90px 20px 80px;
  text-align: center;
}

.about-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
}

.about-hero p {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.1rem;
}

/* Who we are */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 40px;
  align-items: center;
}

.about-highlight {
  background: linear-gradient(135deg,var(--primary),var(--secondary));
  color: #fff;
  padding: 36px;
  border-radius: 20px;
}

.about-highlight ul {
  list-style: none;
  margin-top: 12px;
}

.about-highlight li {
  margin-bottom: 10px;
}

/* Mission */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 30px;
}

.mission-card {
  background: #fff;
  padding: 34px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(15,23,42,0.08);
}

/* Difference */
.difference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 20px;
}

.difference-card {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(15,23,42,0.06);
  transition: 0.3s;
}

.difference-card:hover {
  background: linear-gradient(135deg,var(--primary),var(--secondary));
  color: #fff;
  transform: translateY(-6px);
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 20px;
}

.value-card {
  background: #fff;
  padding: 22px;
  text-align: center;
  font-weight: 700;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(15,23,42,0.06);
}

/* CTA */
.about-cta {
  background: linear-gradient(135deg,var(--primary),var(--secondary));
  color: #fff;
  text-align: center;
}

.about-cta h2 {
  font-size: 2.3rem;
}

.about-cta p {
  margin: 12px 0 28px;
  opacity: 0.95;
}

/* ===== CONTACT US ===== */

.contact-hero {
  background: linear-gradient(135deg, #eef2ff, #ecfeff);
  padding: 90px 20px 80px;
  text-align: center;
}

.contact-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
}

.contact-hero p {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.1rem;
}

/* Contact info cards */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 30px;
}

.contact-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(15,23,42,0.08);
  transition: 0.3s;
}

.contact-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(135deg,var(--primary),var(--secondary));
  color: #fff;
}

/* Form */
.contact-form-wrapper {
  max-width: 600px;
  margin: auto;
  background: #fff;
  padding: 40px;
  border-radius: 22px;
  box-shadow: 0 20px 45px rgba(15,23,42,0.08);
  text-align: center;
}

.contact-form-wrapper h2 {
  font-size: 2rem;
  font-weight: 800;
}

.form-subtitle {
  color: var(--muted);
  margin: 10px 0 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 16px;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 14px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-size: 1rem;
}

/* ===== Task Builder ===== */

.task-builder {
    background: #f8fafc;
    padding: 24px;
    border-radius: 12px;
}

.field-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr 1fr;
    gap: 12px;
    align-items: center;
    transition: all 0.2s ease;
}

.field-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.field-card input,
.field-card select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 14px;
}

.field-card input:focus,
.field-card select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

.rate-field {
    background: #f9fafb;
}

.hidden {
    display: none;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg,#6366f1,#4f46e5);
    color: #fff;
    padding: 12px 22px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-secondary {
    background: #f1f5f9;
    color: #111827;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px dashed #c7d2fe;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #e0e7ff;
}

/* ===== Responsive Task Builder ===== */

@media (max-width: 768px) {

    .field-card {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .task-builder {
        padding: 16px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

/* ===== Live Preview ===== */

.preview-wrapper {
    margin-top: 40px;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px dashed #c7d2fe;
}

.preview-wrapper h4 {
    margin-bottom: 15px;
    color: #4f46e5;
}

.preview-field {
    margin-bottom: 14px;
}

.preview-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.preview-field input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
}
/* ===== Required Toggle Alignment ===== */

.required-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #374151;
    white-space: nowrap;
}

.required-toggle input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #6366f1; /* modern checkbox color */
    cursor: pointer;
}

/* Improve spacing inside field card */
.field-card {
    align-items: center;
}

/* Mobile refinement */
@media (max-width: 768px) {
    .required-toggle {
        margin-top: 4px;
    }
}

/* ===== Drag & Drop ===== */

.drag-handle {
    cursor: grab;
    font-size: 18px;
    color: #6b7280;
    user-select: none;
}

.field-card {
    position: relative;
}

.field-card.dragging {
    opacity: 0.5;
    background: #eef2ff;
}

.field-card.over {
    border: 2px dashed #6366f1;
}
/* ===== Dashboard ===== */

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 20px;
    margin-top: 20px;
}

.dashboard-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    text-align: center;
}

.dashboard-card h4 {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 10px;
}

.dashboard-card p {
    font-size: 26px;
    font-weight: bold;
    color: #111827;
}

.dashboard-card.success { border-left: 5px solid #22c55e; }
.dashboard-card.warning { border-left: 5px solid #f59e0b; }
.dashboard-card.info { border-left: 5px solid #3b82f6; }

.dashboard-alert {
    margin-top: 25px;
    padding: 14px;
    background: #fff7ed;
    border-left: 4px solid #f97316;
    border-radius: 10px;
}

.dashboard-alert a {
    margin-left: 10px;
    font-weight: 600;
}

.dashboard-actions {
    margin-top: 30px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
/* ===== Dashboard Alerts Accordion ===== */

.dashboard-alerts {
    margin-top: 25px;
}

.alert-item {
    background: #fff7ed;
    border-left: 4px solid #f97316;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
}

.alert-header {
    padding: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alert-body {
    display: none;
    padding: 12px 18px;
    background: #fff;
}

.alert-body ul {
    margin: 0;
    padding-left: 18px;
}

.alert-body li {
    font-size: 14px;
    margin-bottom: 6px;
}

.alert-item.active .alert-body {
    display: block;
}

.alert-item.active .arrow {
    transform: rotate(90deg);
}

.arrow {
    transition: transform 0.2s ease;
}
/* Tabs */
.tabs {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.tab {
    padding: 8px 14px;
    border-radius: 8px;
    background: #f1f5f9;
    font-weight: 600;
}

.tab.active {
    background: #6366f1;
    color: #fff;
}

/* Status badge */
.badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.badge.pending { background: #fef3c7; }
.badge.approved { background: #dcfce7; }
.badge.hold { background: #fee2e2; }
.badge.rejected { background: #fecaca; }

/* ===== Application View ===== */

.application-view {
    margin-top: 20px;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.muted-text {
    color: #6b7280;
    font-size: 14px;
}

/* Status pill */
.status-pill {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/*.status-pill.pending { background: #fef3c7; }*/
.status-pill.approved { background: #dcfce7; }
.status-pill.hold { background: #fee2e2; }
.status-pill.rejected { background: #fecaca; }

/* Grid */
.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.info-card h3 {
    margin-bottom: 15px;
}

/* Documents */
.doc-list li {
    margin-bottom: 10px;
}

.doc-list a {
    color: #4f46e5;
    font-weight: 600;
}

.doc-list a:hover {
    text-decoration: underline;
}

/* Action bar */
.action-bar {
    margin-top: 25px;
    display: flex;
    gap: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .app-grid {
        grid-template-columns: 1fr;
    }

    .action-bar {
        flex-direction: column;
    }
}
.filter-bar {
    margin: 20px 0;
    display: flex;
    gap: 10px;
}

.filter-bar input,
.filter-bar select {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.report-table tr:hover {
    background: #f9fafb;
}
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.btn-lg {
    padding: 12px 20px;
    font-size: 15px;
    border-radius: 10px;
}
.status-pill.green {
    background: #dcfce7;
    color: #166534;
}

.status-pill.red {
    background: #fee2e2;
    color: #991b1b;
}

/* Assignment Cards */

.assignment-card {
    display:block;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:15px;
    cursor:pointer;
    transition:all .25s ease;
    background:#fff;
    position:relative;
}

.assignment-card input {
    position:absolute;
    top:12px;
    right:12px;
    transform:scale(1.3);
}

.assignment-card:hover {
    border-color:#4f46e5;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
    transform:translateY(-3px);
}

.assignment-card input:checked + .assignment-content {
    background:linear-gradient(135deg,#eef2ff,#f0fdf4);
    border-radius:10px;
    padding:10px;
}

/* summary cards */
.stat-card {
    border-radius:14px;
    transition:0.2s ease;
}
.stat-card:hover {
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

/* operator badge */
.user-badge {
    background:#eef2ff;
    color:#3730a3;
    border-radius:20px;
    padding:6px 12px;
    margin:3px;
    display:inline-block;
    font-weight:500;
}

/* table spacing */
.table td {
    padding-top:14px;
    padding-bottom:14px;
}