/*
Theme Name: Vkmalani Scheme Theme
Theme URI: https://thetechquery.com
Author: Vikram Jangid Malani
Author URI: https://thetechquery.com/about
Description: A WordPress theme: Vkmalani Scheme Theme
Version: 1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0/
Text Domain: vkmalani-scheme-theme
*/

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f4f6f8;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Navbar */
header {
  background-color: #0D6EFD !important;
  padding: 15px;
  color: #fff !important;
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-link {
    color: white !important;
    font-weight: bold !important;
}
.logo {
  font-size: 24px;
  font-weight: bold;
}

nav ul {
  display: flex;
  gap: 20px;
}

nav ul li {
  list-style: none;
}

nav ul li a {
  color: white;
  text-decoration: none;
}

/* Hero Section */
.hero {
  background-color: #e6f0ff;
  padding: 60px 0;
  text-align: center;
  width: 100%;
}

.hero-content h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 18px;
  color: #444;
  margin-bottom: 25px;
}

.search-form {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.search-form input {
  padding: 10px;
  width: 250px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.search-form button {
  padding: 10px 20px;
  background: #0048b0;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Categories */
.categories {
  padding: 50px 0;
  text-align: center;
}

.categories h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

.category-boxes {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.category {
  background-color: white;
  padding: 20px 30px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.category:hover {
  background-color: #0048b0;
  color: white;
}

/* Footer */
footer {
  background: #0048b0;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 50px;
  width: 100%;
}

.blog-listing .blog-post {
    margin-bottom: 20px;
}

.blog-listing h2 {
    font-size: 24px;
}

.single-blog-post h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

/* === Wrapper Layout === */
.wrapper {
  display: flex;
  flex-direction: row-reverse; /* Sidebar on the right */
  min-height: auto;
  flex-wrap: wrap;
  background-color: #f8f9fa;
}

/* === Sidebar Box === */
.sidebar {
  background-color: #ffffff;
  color: #333;
  padding: 20px;
  width: 250px;
  position: sticky;
  top: 20px;
  height: fit-content;
  /*margin: 20px;*/
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar h2 {
  margin-bottom: 15px;
  font-size: 20px;
  color: #0048b0;
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
}

.sidebar ul {
  list-style: none;
  padding-left: 0;
}

.sidebar ul li {
  margin: 12px 0;
}

.sidebar ul li a {
  color: #0048b0;
  text-decoration: none;
  font-weight: 500;
  display: block;
  transition: 0.3s;
  padding: 6px 8px;
  border-radius: 6px;
}

.sidebar ul li a:hover {
  background-color: #f0f4ff;
}

/* === Main Content === */
.main-content {
  flex: 1;
  padding: 30px;
}

.main-content h1 {
  margin-bottom: 20px;
  font-size: 26px;
}

/* === Form Style === */
.user-form {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  margin-bottom: 20px;
  max-width: 500px;
}

.user-form label {
  display: block;
  margin: 10px 0 5px;
  font-weight: 600;
}

.user-form input {
  width: 100%;
  padding: 10px;
  
}

.user-form button {
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #0048b0;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

/* === Extra Content === */
.extra-content {
  margin-top: 30px;
  background-color: #eef4ff;
  padding: 20px;
  border-left: 4px solid #0048b0;
  max-width: 600px;
}



/* === Articles Section === */
.job-articles {
  background: #fff;
  padding: 30px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.job-articles h2 {
  font-size: 24px;
  color: #0048b0;
  margin-bottom: 20px;
  border-bottom: 2px solid #0048b0;
  padding-bottom: 10px;
}

.job-articles article {
  margin-bottom: 25px;
}

.job-articles article h3 {
  font-size: 20px;
  color: #222;
  margin-bottom: 8px;
}

.job-articles article p {
  font-size: 16px;
  color: #555;
}


/* === Stylish Form === */
.user-form {
  background: #ffffff;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: 500px;
  margin-bottom: 30px;
  font-family: "Segoe UI", sans-serif;
}

.user-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
  font-size: 15px;
}

.user-form input[type="radio"] {
  margin-right: 8px;
  accent-color: #0048b0;
  cursor: pointer;
}

.user-form input[type="radio"] + label {
  margin-right: 20px;
  font-weight: normal;
  font-size: 14px;
  color: #444;
}

.user-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f9f9f9;
  font-size: 15px;
  margin-top: 5px;
  margin-bottom: 20px;
  transition: 0.3s;
}

.user-form select:focus {
  border-color: #0048b0;
  outline: none;
  background-color: #fff;
}

.user-form button {
  padding: 12px 20px;
  background-color: #0048b0;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.user-form button:hover {
  background-color: #003a94;
}



.discover-section {
  background: none !important;
  padding: 60px 20px;
}

.discover-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.discover-left {
  flex: 1 1 300px;
  background: linear-gradient(135deg, #fff7f0, #fefefe);
  border-radius: 20px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.discover-left img {
  height: 100px;
  margin-bottom: 15px;
}

.discover-left h2 {
  font-size: 26px;
  margin-bottom: 10px;
  font-weight: 700;
  color: #111;
}

.discover-left p {
  font-size: 15px;
  color: #444;
}

.discover-right {
  flex: 2 1 600px;
  position: relative;
  padding: 0;
  margin: 0;
  height: fit-content;
}

.job-cards-wrapper {
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 10px 0 !important;
  scroll-snap-type: x mandatory !important;
  width: 100% !important;
}

.job-cards {
  display: flex;
  gap: 16px;
  width: 100%;
}

.job-card {
  flex: 1;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #eee;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
  text-align: left;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.job-card h4 {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 600;
  color: #222;
}

.job-card p {
  font-size: 14px;
  color: #666;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: white;
  color: #333;
  font-size: 20px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  width: 36px;
  height: 36px;
  cursor: pointer;
  z-index: 10;
}

.arrow.left {
  left: -20px;
}

.arrow.right {
  right: -20px;
}

.pagination-dots {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.pagination-dots span {
  width: 8px;
  height: 8px;
  margin: 0 4px;
  background-color: #ddd;
  border-radius: 50%;
  display: inline-block;
  transition: background 0.3s ease;
}

.pagination-dots .active {
  background-color: #0059ff;
}


.job-discover-section {
  display: flex;
  flex-wrap: wrap;
  background: linear-gradient(to right, #fff8f2, #fefefe);
  border-radius: 16px;
  padding: 30px;
  margin: 40px auto;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.discover-left {
  flex: 1 1 300px;
  max-width: 400px;
}

.discover-img {
  width: 80px;
  margin-bottom: 20px;
}

.discover-left h2 {
  font-size: 24px;
  margin: 0;
  line-height: 1.4;
  color: #121212;
}

.discover-left p {
  margin-top: 12px;
  color: #666;
  font-size: 15px;
}

.discover-right {
  flex: 2 1 600px;
  position: relative;
  height: fit-content;

}

.job-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.job-card {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: 0.3s ease;
  cursor: pointer;
  text-align: left;
}

.job-card:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.job-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
  color: #1e293b;
}

.job-card p {
  font-size: 14px;
  color: #475569;
}

.arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  text-align: center;
  font-size: 18px;
  line-height: 34px;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.arrow.left {
  left: -20px;
}

.arrow.right {
  right: -20px;
}

.pagination-dots {
  margin-top: 15px;
  text-align: center;
}

.pagination-dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 4px;
  background: #ccc;
  border-radius: 50%;
}

.pagination-dots span.active {
  background: #1e3a8a;
}


.job-detail-page {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.job-detail-page h1 {
  font-size: 26px;
  color: #222;
  margin-bottom: 15px;
}

.job-detail-page p {
  margin: 8px 0;
  font-size: 16px;
  color: #444;
}

.job-detail-page .job-description {
  margin-top: 20px;
  line-height: 1.6;
}

.job-detail-page .apply-btn {
  display: inline-block;
  margin-top: 20px;
  background: #0048b0;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.job-detail-page .apply-btn:hover {
  background: #003b94;
}


/* Hamburger Menu Button - Global Styles */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
  align-items: center;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hamburger Menu Active State */
.hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Menu - Show hamburger on mobile */
@media (max-width: 768px) {
  .hamburger-menu {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 1001 !important;
    width: 32px !important;
    height: 32px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 4px !important;
    padding: 4px !important;
  }
  
  .hamburger-line {
    width: 100% !important;
    height: 3px !important;
    background-color: #fff !important;
    border-radius: 2px !important;
    margin: 2px 0 !important;
  }
  
  .nav-menu {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 280px !important;
    height: 100vh !important;
    background: #0048b0 !important;
    transition: right 0.3s ease !important;
    z-index: 1000 !important;
    padding: 80px 20px 20px 20px !important;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    max-height: 100vh !important;
  }
  
  .nav-menu.active {
    right: 0 !important;
  }
  
  .nav-menu ul {
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    max-height: calc(100vh - 100px) !important;
    overflow-y: auto !important;
  }
  
  .nav-menu ul li {
    width: 100% !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
  }
  
  .nav-menu ul li:last-child {
    border-bottom: none !important;
  }
  
  .nav-menu ul li a {
    display: block !important;
    padding: 15px 0 !important;
    font-size: 16px !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: background 0.3s ease !important;
    border-radius: 0 !important;
    background: transparent !important;
    text-align: left !important;
    min-height: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    line-height: 1.4 !important;
  }

  .nav-menu ul li a:hover,
  .nav-menu ul li a:active {
    background: rgba(255, 255, 255, 0.1) !important;
    padding-left: 10px !important;
  }
  
  /* Overlay when menu is open */
  .nav-menu.active::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
  }
}

/* Desktop Navigation - Hide hamburger, show regular nav */
@media (min-width: 769px) {
  .hamburger-menu {
    display: none !important;
  }
  
  .nav-menu {
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
  }
  
  .nav-menu ul {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
  }
  
  .nav-menu ul li {
    border-bottom: none !important;
  }
  
  .nav-menu ul li a {
    padding: 8px 12px !important;
    font-size: 14px !important;
    border-radius: 4px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    text-align: center !important;
    min-height: auto !important;
    width: auto !important;
  }
  
  .nav-menu ul li a:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    padding-left: 12px !important;
  }
}

/* === ESSENTIAL CARD STYLES === */

/* Top Job Categories Section */
.top-job-categories {
  padding: 60px 20px;
  background: #fff;
  width: 100%;
  overflow: hidden;
}

.top-job-categories .section-title {
  text-align: center;
  font-size: 26px;
  margin-bottom: 30px;
  color: #111;
}

/* Category Carousel */
.category-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.category-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
}

.category-carousel::-webkit-scrollbar {
  display: none;
}

/* Category Cards */
.category-card {
  flex: 0 0 auto;
  width: 260px;
  min-width: 260px;
  background: #fafbff;
  border: 1px solid #e1e8f0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.category-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #222;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
}

.category-card .logos {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.category-card .logos img {
  background: #fff;
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
  padding: 2px;
  border: 1px solid #ddd;
}

/* Apply Button */
.apply-btn {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  transition: background 0.3s;
  background-color: #0048b0;
  margin-top: 10px;
}

.apply-btn:hover {
  background-color: #003a94;
}

/* Carousel Navigation Arrows */
.cat-nav {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid #ccc;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  width: 36px;
  height: 36px;
  transition: all 0.3s ease;
}

.cat-nav:hover {
  background: #f8f9fa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.cat-nav.left {
  left: -16px;
}

.cat-nav.right {
  right: -16px;
}





    .wrapper {
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
      margin-top: 30px;
    }

    .main-content {
      flex: 1;
      min-width: 250px;
      padding: 20px;
      background: white;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0,0,0,0.05);
    }

    .sidebar {
      width: 250px;
      padding: 20px;
      background: #fff;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0,0,0,0.05);
    }

    .job-articles {
      margin-top: 40px;
      padding: 20px;
      background: #fff;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0,0,0,0.05);
    }

    .user-form input {
      width: 100%;
      padding: 10px;
      margin-bottom: 15px;
      border-radius: none !important;
  border: none !important;
  border-bottom: solid 1px black !important;
  outline: none !important;
    }

    .user-form button {
      padding: 10px 20px;
    }

    @media (max-width: 768px) {
      .wrapper {
        flex-direction: column;
      }

      .sidebar {
        width: 100%;
      }
    }
    
    
    .navbar-brand {
        
        color: white;
    }
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    /* Add checkmark icon when input has 'valid' class */
input.valid {
  background-image: url('data:image/svg+xml;utf8,<svg fill="%2300cc66" height="16" viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 30px 30px;
  padding-right: 30px; /* space for the icon */
}


/* Green circle checkmark for .valid display fields */
.valid::after {
  content: '';
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg fill="%2300cc66" height="16" viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}
.steps-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2em;
  background: #fff;
  padding: 1.5em 1em 1em 1em;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: relative;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px;
  right: -50%;
  width: 100%;
  height: 3px;
  background: #eee;
  z-index: 0;
}

.steps-bar.step0 .step.completed:not(:last-child)::after {
  width: 0% !important;
}

.step.completed:not(:last-child)::after {
  width: 100%;
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eee;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 0.5em;
  z-index: 1;
  position: relative;
}

.step.completed .step-circle {
  background: #ff5a5f;
}

.step-label {
  font-weight: 600;
  margin-bottom: 0.2em;
  font-size: 1em;
}

.step-date {
  color: #bbb;
  font-size: 0.9em;
}

.tracking-badge {
  background: #ffe066;
  color: #222;
  border-radius: 8px;
  padding: 0.1em 0.7em;
  font-size: 0.8em;
  margin-left: 0.5em;
  font-weight: 600;
  vertical-align: middle;
}

.steps-progress-bar {
  position: absolute;
  top: 32px;
  left: 0;
  width: 100%;
  height: 4px;
  background: #eee;
  z-index: 0;
  border-radius: 2px;
}

.steps-progress-fill {
  height: 100%;
  background: #ff5a5f;
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(.4,0,.2,1);
  width: 0;
}

.steps-progress-fill.step0 { width: 10%; }
.steps-progress-fill.step1 { width: 20%; }
.steps-progress-fill.step2 { width: 30%; }
.steps-progress-fill.step3 { width: 50%; }
.steps-progress-fill.step4 { width: 60%; }
.steps-progress-fill.step5 { width: 80%; }

@media (max-width: 700px) {
  .steps-bar {
    flex-direction: column;
    align-items: flex-start;
    margin: 0 !important;
    padding: 1em 0.5em;
    gap: 1em;
    min-width: 0;
  }
  .steps-progress-bar {
    position: absolute;
    left: 16px;
    top: 32px;
    width: 4px;
    height: calc(100% - 32px);
    background: #eee;
    z-index: 0;
    border-radius: 2px;
  }
  .steps-progress-fill {
    width: 100%;
    height: 0;
    min-height: 10%;
    background: #ff5a5f;
    border-radius: 2px;
    transition: height 0.4s cubic-bezier(.4,0,.2,1);
  }
  .steps-progress-fill.step0 { height: 10%; width: 100%; }
  .steps-progress-fill.step1 { height: 20%; width: 100%; }
  .steps-progress-fill.step2 { height: 30%; width: 100%; }
  .steps-progress-fill.step3 { height: 50%; width: 100%; }
  .steps-progress-fill.step4 { height: 60%; width: 100%; }
  .steps-progress-fill.step5 { height: 80%; width: 100%; }
  .step {
    flex: none;
    min-width: 0;
    text-align: left;
    margin-left: 40px;
    margin-bottom: 2em;
    position: relative;
  }
  .step-circle {
    width: 28px;
    height: 28px;
    font-size: 1em;
    margin-bottom: 0.2em;
    margin-right: 0.7em;
    display: inline-flex;
    vertical-align: middle;
  }
  .step-label, .step-date {
    display: inline-block;
    vertical-align: middle;
    font-size: 0.98em;
  }
  .step-label {
    margin-bottom: 0;
  }
  .step-date {
    display: block;
    margin-left: 2.2em;
    font-size: 0.9em;
  }
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: -32px;
    top: 28px;
    width: 4px;
    height: 2.5em;
    background: #eee;
    z-index: 0;
  }
  .step.completed:not(:last-child)::after {
    background: #ff5a5f;
    width: 0 !important;
  }
}



@media (max-width: 700px) {
  .steps-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5em 1em 1em 1em;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
    min-width: 0;
    gap: 0;
  }
  .steps-progress-bar {
    position: absolute;
    left: 28px;
    top: 40px;
    width: 4px;
    height: calc(100% - 60px);
    background: #eee;
    z-index: 0;
    border-radius: 2px;
  }
  .steps-progress-fill {
    position: none !important;
    left: 28px;
    top: 40px;
    width: 4px;
    background: #ff5a5f;
    border-radius: 2px;
    z-index: 1;
    transition: height 0.4s cubic-bezier(.4,0,.2,1);
  }
  .steps-progress-fill.step0 { height: 10%; }
  .steps-progress-fill.step1 { height: 20%; }
  .steps-progress-fill.step2 { height: 30%; }
  .steps-progress-fill.step3 { height: 50%; }
  .steps-progress-fill.step4 { height: 60%; }
  .steps-progress-fill.step5 { height: 80%; }

  .step {
    flex: none;
    min-width: 0;
    text-align: left;
    margin-bottom: 2.5em;
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    padding: 1em 3em 0.7em 0em;
    display: flex;
    align-items: center;
  }
  .step:last-child {
    margin-bottom: 0;
  }
  .step-circle {
    width: 32px;
    height: 32px;
    font-size: 1.2em;
    margin-right: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eee;
    color: #bbb;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    flex-shrink: 0;
    border: 2px solid #eee;
    transition: background 0.3s, color 0.3s, border 0.3s;
  }
  .step.completed .step-circle {
    background: #ff5a5f;
    color: #fff;
    border: 2px solid #ff5a5f;
  }
  .step-label {
    font-weight: 600;
    font-size: 1em;
    color: #222;
    margin-bottom: 0;
    margin-right: 0.5em;
    flex: 1;
    word-break: break-word;
  }
  .step-date {
    color: #bbb;
    font-size: 0.9em;
    margin-left: 0;
    display: block;
  }
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: -44px;
    top: 36px;
    width: 4px;
    height: calc(100% - 36px);
    background: #eee;
    z-index: 0;
    border-radius: 2px;
  }
  .step.completed:not(:last-child)::after {
    background: #ff5a5f;
    width: 0 !important;
  }
}