@font-face {
  font-family: Vazirmatn;
  src: url('fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* انیمیشن‌ها */
html,body{font-size: 16px;font-family: Vazirmatn !important;}
#registerContainer *{font-family: Vazirmatn;}
.top_fix{font-size: 12px;}
#registerContainer .fas{font-family: "Font Awesome 6 Free";}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-content:not(.hidden) {
    animation: fadeIn 0.4s ease-out;
}


/* ============================================
   استایل تگ‌های محصولات - بهبود یافته
   ============================================ */

.tag-item {
    background: #f3f4f6;
    color: #000;
    padding: 6px 8px 6px 10px;
    border-radius: 10px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    animation: fadeIn 0.2s ease-out;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(26, 59, 92, 0.15);
}

.tag-item:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(26, 59, 92, 0.3);
}

.tag-item .remove-tag {
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 700;
    opacity: 0.8;
    transition: all 0.2s;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    color: #000;
}

.tag-item .remove-tag:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* استپر */
.step-indicator {
    transition: all 0.3s ease;
}

.step-indicator.active {
    background: #1A3B5C;
    color: white;
    box-shadow: 0 4px 12px rgba(26, 59, 92, 0.3);
    transform: scale(1.1);
}

.step-indicator.completed {
    background: #22C55E;
    color: white;
}

.step-line {
    transition: background 0.3s ease;
}

.step-line.completed {
    background: #22C55E;
}

/* وضعیت اعتبارسنجی سایت */
.status-valid {
    color: #22C55E;
}

#productCounter {
    font-size: 13px;
}

.status-invalid {
    color: #EF4444;
}

.status-duplicate {
    color: #F59E0B;
}

.status-checking {
    color: #3B82F6;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 640px) {
    .step-label {
        display: none;
    }
    
    .step-line {
        flex: 0.5;
    }
    
    .tag-item {
        font-size: 0.75rem;
        padding: 3px 10px 3px 6px;
    }
}

/* ============================================
   بهبود نمایش فیلد معرفی در موبایل
   ============================================ */
@media (max-width: 640px) {
    /* افزایش سایز فونت برای دید بهتر */
    #brandDesc {
        font-size: 14px !important;
        min-height: 52px;
        padding-top: 14px;
        padding-bottom: 14px;
        padding-left: 45px !important;
        -webkit-text-size-adjust: 100%;
    }
    
    #brandDescCounter {
        font-size: 12px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        left: 10px !important;
    }
    
    #brandName {
        font-size: 16px !important;
    }
    
    #productInput {
        font-size: 16px !important;
        padding-right: 45px !important;
    }
    
    #productInput::placeholder {
        font-size: 12px !important;
    }
    
    #productCounter {
        font-size: 12px !important;
        right: 8px !important;
    }
    
    .tag-item {
        font-size: 1rem;
        padding: 5px 12px 5px 8px;
    }
    
    .tag-item .remove-tag {
        width: 20px;
        height: 20px;
        font-size: 1rem;
    }
}