/* ========================================
   MILANI IMMIGRATION - MODERN DESIGN 2025
   ======================================== */

:root {
  --primary: #0D1E31;
  --primary-light: #162840;
  --accent: #D29F2F;
  --accent-light: #DDB040;
  --gold: #D29F2F;
  --white: #EDEFEF;
  --gray-50: #f4f5f5;
  --gray-100: #e8eaea;
  --gray-200: #d0d3d3;
  --gray-600: #4a5568;
  --gray-800: #1a2535;
  --gradient-hero: linear-gradient(135deg, #0D1E31 0%, #162840 50%, #1e3550 100%);
  --gradient-accent: linear-gradient(135deg, #D29F2F 0%, #DDB040 100%);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Montserrat', system-ui, -apple-system, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 30, 49, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.header-scrolled {
  background: rgba(13, 30, 49, 0.98);
  box-shadow: var(--shadow-lg);
}

.header-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--primary);
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav a:hover {
  color: var(--white);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav a:hover::after {
  width: 100%;
}

.nav-jobs {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
}

.nav-jobs::after {
  display: none !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.language-selector {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem;
  border-radius: var(--radius-xl);
}

.lang-btn {
  background: transparent;
  border: none;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn.active {
  background: var(--white);
}

.lang-btn img {
  width: 20px;
  height: 15px;
  border-radius: 2px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('imagempontehpn.jpg') center/cover;
  opacity: 0.15;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(210, 159, 47, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(210, 159, 47, 0.1) 0%, transparent 50%);
}

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-xl);
  color: var(--accent-light);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-badge::before {
  content: '★';
  color: var(--gold);
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-number span {
  color: var(--white);
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #0D1E31;
  padding: 1rem 2rem;
  border-radius: var(--radius-xl);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(210, 159, 47, 0.3);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(210, 159, 47, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--radius-xl);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.hero-card-flag {
  width: 60px;
  height: 40px;
  background: url('a-bandeira-da-irlanda.avif') center/cover;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
}

.hero-card h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.hero-card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-card-features li {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-card-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
}

/* ========================================
   SECTIONS GENERAL
   ======================================== */

.section {
  padding: 6rem 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-title .highlight {
  color: var(--accent);
}

.section-description {
  font-size: 1.125rem;
  color: var(--gray-600);
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services {
  background: var(--gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
  border: 1px solid var(--gray-200);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(210, 159, 47, 0.12), rgba(210, 159, 47, 0.05));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about-content h2 .highlight {
  color: var(--accent);
}

.about-content p {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.about-stat {
  text-align: center;
}

.about-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.about-stat-label {
  font-size: 0.85rem;
  color: var(--gray-600);
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid var(--gray-100);
}

.team-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.team-card p {
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* ========================================
   JOBS & DASHBOARD LAYOUT GRIDS
   ======================================== */

.jobs-search-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  align-items: end;
}

.jobs-layout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* ========================================
   PROCESS SECTION
   ======================================== */

.process {
  background: var(--primary);
  color: var(--white);
}

.process .section-title {
  color: var(--white);
}

.process .section-description {
  color: rgba(255, 255, 255, 0.7);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.process-card {
  background: white;
  border: none;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}

.process-number {
  width: 48px;
  height: 48px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 auto 1.5rem;
}

.process-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.process-card p {
  font-size: 0.9rem;
  color: var(--gray-700);
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials {
  background: var(--gray-50);
}

.testimonials-carousel {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  width: 100%;
}

.testimonial-card img {
  max-width: 100%;
  max-height: 350px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--white);
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-200);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.testimonial-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('imagempontehpn.jpg') center/cover;
  opacity: 0.1;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-content h2 .highlight {
  color: var(--accent-light);
}

.cta-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: var(--gray-800);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1rem;
  font-size: 0.95rem;
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-card {
    max-width: 400px;
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .jobs-search-grid,
  .jobs-layout-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
  }

  .nav.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 6rem 0 4rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .section {
    padding: 4rem 0;
  }

  /* --- DIFFERENTIALS (Nossos Diferenciais) --- */
  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  /* --- O QUE FAZEMOS --- */
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .service-card {
    flex-direction: column;
  }

  /* --- ALL inline grids inside sections become single column --- */
  #diferenciais [style*="grid-template-columns"],
  #services [style*="grid-template-columns"],
  #process [style*="grid-template-columns"],
  .section [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* --- QUEM SOMOS TEAM --- */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Team member flex rows */
  [style*="display: flex"][style*="flex-wrap: wrap"] {
    flex-direction: column !important;
    align-items: center !important;
  }

  [style*="flex: 0 1 20%"],
  [style*="flex: 0 1 25%"],
  [style*="flex: 0 1 30%"] {
    flex: 0 1 80% !important;
    max-width: 280px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    text-align: center;
  }

  /* Section titles */
  .section-title {
    font-size: 1.8rem;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr !important;
  }

  /* CTA section */
  .cta-grid {
    grid-template-columns: 1fr !important;
  }

  /* Container padding */
  .container {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  /* Process cards single column on small phones */
  .process-card {
    padding: 1.5rem 1rem;
  }

  /* O que fazemos images */
  .service-img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover;
  }

  /* Features cards */
  .feature-card {
    padding: 1.25rem;
  }
}

/* ========================================
   WHATSAPP FLOAT BUTTON
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 1.5rem;
    right: 1.5rem;
  }
  
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

/* ========================================
   DASHBOARD / LOGIN
   ======================================== */

.language-selector-dashboard {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem;
  border-radius: var(--radius-xl);
  z-index: 100;
}

.dashboard-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.7fr);
  background: var(--gradient-hero);
}

.dashboard-aside {
  color: #f6f8fc;
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dashboard-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
  background: var(--white);
}

.login-card,
.admin-card {
  width: min(440px, 100%);
  background: #ffffff;
  border-radius: 1.4rem;
  padding: 2rem 1.8rem 1.9rem;
  box-shadow: 0 16px 40px rgba(24, 46, 91, 0.18);
  border: 1px solid #dde7ff;
}

.login-card h1,
.admin-card h1 {
  font-size: 1.45rem;
  margin-bottom: 0.25rem;
  color: var(--primary);
}

.login-card p,
.admin-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 1.2rem;
}

.input,
.select {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border-radius: 0.7rem;
  border: 1px solid #c9d5f0;
  font-family: inherit;
  font-size: 0.9rem;
}

.input:focus,
.select:focus {
  outline: 2px solid var(--accent);
  border-color: transparent;
}

.form-row .form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
  color: var(--primary);
}

.form-group .input,
.form-group .select {
  margin-top: auto;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
  color: var(--primary);
}

.helper-text {
  font-size: 0.78rem;
  color: var(--gray-600);
  margin-top: 0.2rem;
}

.error-text {
  font-size: 0.8rem;
  color: #d93025;
  margin-bottom: 0.8rem;
  display: none;
}

.error-text.visible {
  display: block;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-meta {
  font-size: 0.8rem;
  color: var(--gray-600);
}

.jobs-mini-list {
  margin-top: 1.2rem;
  max-height: 180px;
  overflow: auto;
  border-top: 1px solid #ecf0fb;
  padding-top: 0.7rem;
}

.jobs-mini-list li {
  font-size: 0.85rem;
  color: var(--gray-600);
  padding: 0.15rem 0;
  display: flex;
  justify-content: space-between;
}

.badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  font-size: 0.75rem;
  padding: 0 0.4rem;
  background: #ecf2ff;
  color: var(--primary);
}

/* Dashboard RESPONSIVE */
@media (max-width: 960px) {
  .dashboard-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-aside {
    padding: 2.5rem 1.8rem 2rem;
    margin-top: 2rem;
  }

  .dashboard-main {
    padding: 2rem 1.6rem 3rem;
    background: transparent;
  }
}

@media (max-width: 768px) {
  .dashboard-aside {
    padding: 1.5rem;
    text-align: center;
  }

  .dashboard-main {
    padding: 1.5rem;
  }

  .login-card,
  .admin-card {
    padding: 1.5rem;
  }
  
  .dashboard-shell .form-row {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
}
