:root {
    --accent: #fa6464;
    --bg-dark: #070707;
    --card-bg: #ffffff;
    --muted: #7a7a7a;
    --text-dark: #111;
    --radius: 14px;
    --transition: 250ms ease;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  html,
  body {
    height: 100%;
  }
  body {
    font-family: "Vazirmatn", sans-serif;
    background-color: #ebe8e8;
    padding: 3.5rem 1rem;
    overflow-x: hidden;
  }
  
  /* Container */
  .page-root {
    display: block;
  }
  
  /* Main Card */
  .main-card {
    max-width: 1100px;
    width: 100%;
  }
  .card {
    background: var(--card-bg);
    border-radius: calc(var(--radius) + 4px);
    overflow: visible;
    box-shadow: 0 12px 50px rgba(2, 2, 2, 0.45);
    border: none;
  }
  
  /* Accent bar */
  .accent-bar {
    height: 6px;
    background: linear-gradient(90deg, var(--accent), #ff8b8b, var(--accent));
  }
  
  /* Header */
  .header-row .page-title {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: #222;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
    text-transform: capitalize;
    padding: 0.25rem 0.5rem;
    background: linear-gradient(90deg, #860f1b, #080707);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .header-row .page-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg, #b02a37, transparent);
    transform: translateX(-50%);
    border-radius: 3px;
    opacity: 0.8;
    transition: all 0.4s ease;
  }
  
  .header-row .page-title:hover::after {
    width: 80%;
    opacity: 1;
  }
  
  .header-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }
  .flag {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #ddd;
    object-fit: cover;
  }
  
  /* Signout button */
  .signout-btn {
    background-color: transparent;
    border: 1px solid #ccc;
    color: #444;
    font-size: 0.9rem;
    padding: 0.35rem 0.75rem;
    transition: all 0.2s;
  }
  .signout-btn:hover {
    background-color: #f8f8f8;
    border-color: #aaa;
  }
  
  /* Stepper */
  .stepper-wrap {
    padding: 0.6rem 0 1rem 0;
    margin-bottom: 0.6rem;
  }
  .stepper-inner {
    position: relative;
    padding: 1rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .step-line {
    position: absolute;
    left: 6%;
    right: 6%;
    top: 35%;
    height: 2px;
    border-radius: 20px;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.2) 0%,
      var(--accent) 15%,
      rgba(255, 255, 255, 0.2) 30%,
      var(--accent) 45%,
      rgba(255, 255, 255, 0.2) 60%,
      var(--accent) 75%,
      rgba(255, 255, 255, 0.2) 100%
    );
    background-size: 200% auto;
    animation: flowLine 5s linear infinite;
    z-index: 1;
  }
  @keyframes flowLine {
    0% {
      background-position: 200% center;
    }
    100% {
      background-position: 0% center;
    }
  }
  .stepper {
    position: relative;
    z-index: 2;
    gap: 0.3rem;
    justify-content: space-between;
    align-items: center;
    display: inline-flex;
    flex-wrap: nowrap;
    min-width: max-content;
  }
  .step-item {
    flex: 0 0 auto;
    width: 100px;
    min-width: 100px;
    margin: 0 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .step-caption {
    margin-top: 0.5rem;
    font-size: 0.82rem;
    color: #444;
    font-weight: 600;
  }
  .step-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    color: var(--accent);
    font-size: 1.1rem;
    background: #fff;
    transition: all 0.3s ease;
  }
  .step-circle.completed {
    background: linear-gradient(90deg, var(--accent), #ff8b8b);
    color: #fff;
    box-shadow: 0 0 20px rgba(250, 100, 100, 0.3);
    transform: translateY(-6px);
    border: none;
  }
  .step-circle.active {
    background: linear-gradient(90deg, var(--accent), #ff8b8b);
    color: var(--card-bg);
    box-shadow: 0 10px 28px rgba(250, 100, 100, 0.09);
    transform: translateY(-4px);
  }
  .step-circle.active::after {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 3px dashed rgba(255, 147, 147, 0.6);
    animation: rotateRing 5s linear infinite;
    opacity: 1;
    z-index: -1;
    filter: drop-shadow(0 0 10px #ff9393);
  }

  @media (max-width: 992px) {
    .step-line {
      display: none;
    }
    .stepper {
      justify-content: flex-start !important;
    }
  }
  @media (max-width: 500px) {
    .step-item {
      margin: 0px;
      margin-left: -10px;
    }
    .step-caption {
      font-size: 12px;
    }
  }
/* Alert bar */
.alert-important {
  background: linear-gradient(90deg, var(--accent), #ff8b8b);
  color: #fff;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  box-shadow: 0 10px 34px rgba(250, 100, 100, 0.12);
}
.alert-important img {
  width: 60px;
  height: 60px;
  position: relative;
  border-radius: 35px;
  transition: all 0.4s ease;
  object-fit: cover;
}
.alert-important img:hover {
  transform: scale(1.05);
}
@media (max-width: 430px) {
  .alert-important img {
    width: 55px;
    height: 55px;
  }
} 
  /* Accent Button */
  .btn-accent {
    background: var(--accent);
    color: #fff;
    border-radius: 10px;
    padding: 10px 20px;
    border: none;
    transition: all var(--transition);
  }
  .btn-accent:hover {
    transform: translateY(-3px);
    background: var(--accent);
    color: white;
  }
  
  /* Responsive header */
  @media (max-width: 576px) {
    .header-row {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.6rem;
    }
    .header-right {
      width: 100%;
      justify-content: space-between;
    }
    .flag {
      width: 32px;
      height: 30px;
    }
    .header-row .page-title {
      font-size: 15px;
    }
    .text-fild-morabi p {
      margin-right: 5px !important;
      font-size: 10px;
      line-height: 1.7;
      width: 100%;
      text-align: justify;
    }
  }
  .text-fild-morabi p {
    margin-right: 20px;
  }
 

  /*--apload-photo--*/
 
  .upload-title {
    font-size: 1.6rem;
    color: #222;
    position: relative;
    display: inline-block;
    font-weight: 600;
  }
  
  .upload-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #ff8b8b);
    border-radius: 3px;
  }
  
  
  .upload-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    backdrop-filter: blur(6px);
    border: 2px dashed #ddd!important;
    transition: all 0.3s ease;
    overflow: hidden;
  }
  
  
  .upload-card:hover {
    transform: translateY(-2px);
    border: 2px solid transparent !important;
    border-radius: 16px;
    background: 
      linear-gradient(white, white) padding-box,
      linear-gradient(135deg, var(--accent), #ff8b8b, #ffd6d6) border-box;
    transition: 0.3s ease;
  }
  
  
  .upload-card .card-body {
    height: 270px;
    cursor: pointer;
  }

  .upload-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--muted);
    transition: 0.3s ease;
  }
  
  .upload-placeholder i {
    color: #bbb;
    transition: color 0.3s ease;
  }
  
  .upload-card:hover .upload-placeholder i {
    color: var(--accent);
  }
  
  .upload-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
  }

  .preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
  }
  
  .btn-remove {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    z-index: 3;
    transition: all 0.3s ease;
  }
  
  .btn-remove:hover {
    background: var(--accent);
    transform: scale(1.1);
  }

  @media (max-width: 768px) {
    .upload-card .card-body {
      height: 220px;
    }
  }
  
  @media (max-width: 576px) {
    .upload-title {
      font-size: 1.3rem;
    }
  }


  #extra-images {
    display: flex;
    flex-wrap: nowrap !important;
  }
  
  .extra-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
  }
  
  .btn-remove-small {
    position: absolute;
    top: 6px;
    right: 6px;
    border: none;
    background: white;
    color: black;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease, transform 0.2s ease;
  }
  
  .btn-remove-small:hover {
    transform: scale(1.1);
  }
  
  @media (max-width: 1000px) {
    #extra-images {
      flex-wrap: wrap !important;
    }
  }