:root {
  --primary-color: #a3c293;
  --secondary-color: #8aa87e;
  --accent-color: #6b8e23;
  --bg-color: #f5f5f5;
  --text-color: #2f4f4f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "BYekan", sans-serif;
  direction: rtl;
  text-align: right;
}

.body {
  background: var(--bg-color);
}

/* نوار انتظار */
.progress-container {
    position: relative;
    width: 300px;
    height: 30px;
    background: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #2ecc71, #27ae60);
    transition: width 0.3s ease;
}

.percentage-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-family: 'BYekan', sans-serif;
}@keyframes progressAnim {
  from { width: 0; }
  to { width: 100%; }
}

/* پوشش راهنما */
#guideOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 11000;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
}
#guideOverlay.active {
  visibility: visible;
}
#guideCircle {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}
#guideCircle p {
  color: var(--accent-color);
  font-weight: bold;
}

/* نوار منوی بالایی */
.top-menu {
  background: var(--primary-color);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  padding: 10px 0;
}
.top-menu-list {
  list-style: none;
  display: flex;
  justify-content: center;
}
.top-menu-list li {
  margin: 0 15px;
}
.top-menu-list li a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: bold;
}

/* هدر اصلاح شده */
.header-info {
  display: flex;
  align-items: center;
  padding: 15px 30px;
  background: var(--secondary-color);
  justify-content: space-between;
}
.logo-container img {
  width: 65px;
  border-radius: 15px;
}
.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}
.profile-upload {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent-color);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-upload i {
  font-size: 1.7rem;
  color: var(--accent-color);
}
.user-name-display {
  color: var(--text-color);
  font-weight: bold;
}

/* اسلایدر */
.slider-section {
  position: relative;
  width: 100%;
  height: 300px;
  margin: 20px 0;
}
.carousel {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.carousel .carousel-item {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.carousel .carousel-item.active {
  opacity: 1;
}
.carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.text_style {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255,255,255,0.7);
  padding: 5px 10px;
  border-radius: 5px;
  color: var(--accent-color);
}

/* منوی سریع */
#quick_section {
  padding: 20px 0;
}
.row.menosari {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.quick_item {
  background: var(--primary-color);
  width: 160px;
  height: 160px;
  margin: 15px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.quick_item:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}
.quick-icon {
  font-size: 2.8rem;
  margin-bottom: 15px;
}
.fa-sign-in-alt { color: #27ae60; }
.fa-calendar-check { color: #c0392b; }
.fa-photo-video { color: #8e44ad; }
.fa-video { color: #2c3e50; }
.fa-file-invoice-dollar { color: #f39c12; }
.fa-tachometer-alt { color: #16a085; }

/* بخش اخبار */
#news_section {
  padding: 20px 0;
}
.news-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.news-box {
  background: #fff;
  width: 80%;
  max-width: 800px;
  margin: 20px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}
.news-box:hover {
  transform: translateY(-5px);
}
.news-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.news-content {
  padding: 15px;
}
.news-content h3 {
  margin-bottom: 10px;
  color: var(--accent-color);
}
.news-content p {
  color: var(--text-color);
}

@media (min-width: 768px) {
  .news-box {
    width: 45%;
    margin: 15px;
  }
}

@media (min-width: 1200px) {
  .news-box {
    width: 30%;
  }
}

/* فوتر */
footer.clum {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  padding: 20px 0;
  text-align: center;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-logo img {
  width: 50px;
  border-radius: 15px;
  margin-bottom: 10px;
}
.footer-links a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--accent-color);
}
.footer-links i {
  margin-right: 5px;
}

/* رسپانسیو */
@media (max-width: 768px) {
        .header-section {
            flex-direction: column;
            align-items: center !important;
        }

        .logo {
            width: 80px !important;
            margin: 0 auto 15px !important;
            display: block !important;
        }

        .title {
            text-align: center !important;
            font-size: 1.4rem !important;
        }

        .user-info {
            text-align: left !important;
            direction: rtl;
            margin-right: 15px;
        }

        input, .persian-date-input {
            text-align: right !important;
            padding-right: 40px !important;
        }

        .fas {
            right: 12px !important;
            left: auto !important;
        }


    /* استایل اصلی */
    /*.header-section {*/
    /*    display: flex;*/
    /*    align-items: flex-start;*/
    /*    gap: 20px;*/
    /*}*/

    /*.logo {*/
    /*    width: 100px;*/
    /*    transition: all 0.3s ease;*/
    /*}*/

    /*.user-info {*/
    /*    flex-grow: 1;*/
    /*}*/

    /*input, .persian-date-input {*/
    /*    text-align: right;*/
    /*    direction: rtl;*/
    /*}*/

  .row.menosari {
    flex-direction: column;
    align-items: center;
  }
  .quick_item {
    width: 80%;
    max-width: 300px;
    margin: 10px 0;
  }
  /*.header-info {*/
  /*  flex-direction: column;*/
  /*  gap: 15px;*/
  /*  padding: 15px;*/
  /*}*/
}
.social_icons {
  display: flex;
  justify-content: center; /* وسط افقی */
  align-items: center;     /* وسط عمودی */
  gap: 20px;              /* فاصله بین آیکون‌ها */
  height: 100px;          /* ارتفاع دلخواه */
}
.colo{
  color : var(--accent-color) !important;
}
.profile-circle {
  width: 70px;   /* قطر دایره */
  height: 70px;  /* قطر دایره */
  border-radius: 50%; /* تبدیل به دایره */
  overflow: hidden; /* مخفی کردن بخش‌های خارج از دایره */
  border: 3px solid #fff; /* حاشیه اختیاری */
  box-shadow: 0 0 10px rgba(0,0,0,0.2); /* سایه اختیاری */
  margin: 20px auto; /* وسط‌چین افقی */
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* تنظیم عکس بدون کش آمدن */
}





    .loading-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(5px);
        z-index: 9999;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: opacity 0.5s;
    }

    .progress-container {
        width: 300px;
        height: 20px;
        background: #f0f0f0;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    .progress-bar {
        width: 0%;
        height: 100%;
        background: linear-gradient(90deg, #2ecc71, #27ae60);
        transition: width 0.3s ease;
    }

    .percentage-text {
        text-align: center;
        margin-top: 15px;
        font-family: 'Vazirmatn';
        color: #2c3e50;
        font-size: 1.2rem;
    }
    .nav-rastchin{
    display: flex;
    position: relative;
    right: 70px;
}


@font-face {
    font-family: "BYekan";
    src: url("../fonts/BYekan.eot") format("eot"),
        url("../fonts/BYekan.ttf") format("truetype");
        url("../fonts//BYekan.woff") format("woff"),
    font-weight: normal;
    font-style: normal;
}
*{
    font-family: "BYekan";
    direction: rtl;
    text-align: right;
}
.body{
    background: url(/static/img/body_back4.jpg);
}
nav .brand-logo{
    width: 50px;
    top: 0.5rem;
}
nav .brand-logo img{
    width: 100%;
    border-radius: 15px;
}
@media(max-width:992px){
    nav .brand-logo{
        top: 0.2rem;
    }
}






.text_style{
    position: absolute;
    width: 100px;
    height: 100px;
    color: red;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    transition: all 230ms;
    transform: perspective(800px) rotateY(25deg) scale(0.9) rotateX(10deg);
    filter: blur(1px);
    opacity: 0.6;
}
.text_style.isShow{
    transform: perspective(800px) rotateY(-15deg) scale(1) rotateX(-10deg);
    filter: blur(0);
    opacity: 1;
    color: #4a148c;
    font-size: 2rem;
}
.faseleye_nevarbala {
    display: flex;
    position: relative;
    right: 70px;
}
.esme_morajee{
    display: flex;
    position: relative;
    left: 30px;
}

.w-100{
    width: 100% !important;
}
.clum {
    display: flex;
    flex-direction: column;
    bottom: 0px;
}
.pink-text.text-accent-3 {
    color: #4a148c !important;
}
.m2-text{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem;;
    /* flex-direction: column; */
}
.m2-text a{
    margin: 0.5rem;
}

.top-20{
    position: relative;
    top: 40px;
}
.nav-rastchin{
    display: flex;
    position: relative;
    right: 70px;
}
.faseleazbala {
    position: absolute;
    top: 50px !important;
}
.faseleazbalamobile{
    position: relative;
    left: 150px; !important;
    top: 0px; !important;
    width: 100px;!important;
    height: 250px;!important;
    z-index: 10000;!important;
}
/*.sidenav li > a {*/
/*    height: 48px; !important;*/

/*}*/
/*.sidenav li > a > i,icons{*/
/*margin: 0 0px 0 0; !important;*/
/*}*/
#mobile-demo{
        display: inline-table;!important;
    overflow-y: auto;!important;
        width: 175px;!important;
    height: 300px;!important;
    padding: 0px; !important;
    position: fixed;

}


.sidenav-trigger{
    height: 5px !important;
}


/* اضافه کردن این استایل به فایل new_home.css */
.quick_item.disabled {
  pointer-events: none;
  opacity: 0.6;
  cursor: not-allowed;
  position: relative;
}

.quick_item.disabled::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}




/* استایل جدید برای متن اسلایدها */
.text_style {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 2.5rem;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 15px 30px;
  background: linear-gradient(45deg, rgba(156, 39, 176, 0.7), rgba(233, 30, 99, 0.7));
  border-radius: 15px;
  backdrop-filter: blur(3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* انیمیشن هنگام فعال شدن اسلاید */
.carousel-item.active .text_style {
  opacity: 1;
  animation: textSlide 0.8s ease-out;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 600px) {
  .text_style {
    font-size: 1.5rem;
    bottom: 10%;
    padding: 10px 20px;
  }
}

/* انیمیشن اختصاصی */
@keyframes textSlide {
  from {
    transform: translate(-50%, 30px);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}



/*-------------------------------------------------مربوط به فرم ثبت اطلاعات فروشندگان جنس به ما--------------------------------------------------------------*/
/* متغیرهای جدید برای فرم */
:root {
  /* ... متغیرهای قبلی ... */

  /* متغیرهای جدید برای فرم */
  --form-primary: #8e44ad;
  --form-secondary: #9b59b6;
  --form-accent: #6c3483;
  --form-success: #27ae60;
  --form-error: #e74c3c;
}

/* استایل‌های جدید برای فرم */
.form-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.95);
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
  color: var(--form-primary);
  border-bottom: 2px solid var(--form-accent);
  padding-bottom: 15px;
}

.input-field label {
  color: var(--form-primary);
  font-weight: bold;
  right: 0 !important;
  left: auto !important;
}

.input-field input:focus + label,
.input-field textarea:focus + label {
  color: var(--form-accent) !important;
}

.input-field input:focus,
.input-field textarea:focus {
  border-bottom: 1px solid var(--form-accent) !important;
  box-shadow: 0 1px 0 0 var(--form-accent) !important;
}

.required-field::after {
  content: " *";
  color: var(--form-error);
}

.form-btn {
  background-color: var(--form-primary);
  transition: all 0.3s ease;
  margin-top: 30px;
  padding: 0 40px;
  border-radius: 30px;
  font-weight: bold;
}

.form-btn:hover {
  background-color: var(--form-accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.form-icon {
  color: var(--form-primary);
  margin-left: 10px;
}

.form-messages {
  margin: 20px 0;
}

.error-message {
  color: var(--form-error);
  font-weight: bold;
  margin-top: 5px;
}