
    @font-face {
        font-family: 'Yekan';
        src: url('./assets/yekan-bakh/YekanBakh-Bold.woff') format('woff');
        font-weight: normal;
    }
    @font-face {
        font-family: 'Yekan';
        src: url('https://cdn.jsdelivr.net/gh/rastikerdar/yekan-font/dist/YekanBold.woff') format('woff');
        font-weight: bold;
    }

  

    .form-container {
      
        width: 100%;
        max-width: 380px;
        border-radius: 16px;
       
        overflow: hidden;
        position: relative;
      
    }

    .steps-indicator {
        display: flex;
        justify-content: center;
        gap: 8px;
        padding: 18px 0 0;
    }

    .step-dot {
        width: 28px;
        height: 4px;
        border-radius: 4px;
        background: #e0e0e0;
        transition: all 0.4s ease;
    }

    .step-dot.active {
        background: #6a5acd;
        width: 40px;
    }

    .form-header {
        text-align: center;
        padding: 10px 20px 5px;
    }

    .form-header h2 {
        font-size: 17px;
        color: #333;
        margin: 4px 0;
        
    }

    .form-header p {
        font-size: 12px;
        color: #999;
        margin: 0;
    }

    .steps-wrapper {
        position: relative;
        overflow: hidden;
        min-height: 360px;
    }

    .step {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        padding: 15px 25px 25px;
        opacity: 0;
        transform: translateX(40px);
        transition: opacity 0.4s ease, transform 0.4s ease;
        pointer-events: none;
    }

    .step.active {
        opacity: 1;
        transform: translateX(0);
        position: relative;
        pointer-events: all;
    }

    .step.prev {
        transform: translateX(-40px);
    }

    .field-group {
        margin-bottom: 12px;
        animation: fadeInUp 0.5s ease;
    }

    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .field-label {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 12px;
        color: #555;
        margin-bottom: 4px;
        font-weight: bold;
    }

    .field-label .icon {
        font-size: 13px;
        width: 16px;
        text-align: center;
        color: #6a5acd;
    }

    .field-input {
        width: 100%;
        padding: 8px 10px;
        font-size: 13px;
        border: 1px solid #bbbbbb;
        border-radius: 8px;
        outline: none;
        transition: border-color 0.25s, box-shadow 0.25s;
        background: #ffffff;
    }

    .field-input:focus {
        border-color: #6a5acd;
        box-shadow: 0 0 0 3px rgba(106,90,205,0.12);
        background: #fff;
    }

    select.field-input {
        cursor: pointer;
    }

    .error-msg {
        font-size: 10.5px;
        color: #e74c3c;
        margin-top: 3px;
        display: none;
        animation: shake 0.3s ease;
    }

    @keyframes shake {
        0%, 100% { transform: translateX(0); }
        25% { transform: translateX(-4px); }
        75% { transform: translateX(4px); }
    }

    .field-group.error .field-input {
        border-color: #e74c3c;
        background: #fff5f5;
    }

    .field-group.error .error-msg {
        display: block;
    }

    .field-group.success .field-input {
        border-color: #2ecc71;
    }

    /* کپچا */
    .captcha-box {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 12px;
    }

    .captcha-code {
        background: repeating-linear-gradient(45deg, #6a5acd10, #6a5acd10 4px, #f0f0f0 4px, #f0f0f0 8px);
        border: 1.5px dashed #6a5acd;
        border-radius: 8px;
        padding: 7px 14px;
        font-weight: bold;
        letter-spacing: 4px;
        font-size: 15px;
        color: #4a3f9e;
        user-select: none;
        flex-shrink: 0;
        text-decoration: line-through;
        text-decoration-color: #6a5acd66;
    }

    .refresh-captcha {
        background: none;
        border: none;
        font-size: 16px;
        cursor: pointer;
        color: #6a5acd;
        transition: transform 0.3s;
        flex-shrink: 0;
    }

    .refresh-captcha:hover {
        transform: rotate(180deg);
    }

    /* OTP */
    .otp-wrapper {
        text-align: center;
        margin: 15px 0 5px;
    }

    .otp-wrapper .icon-big {
        font-size: 34px;
        color: #6a5acd;
        margin-bottom: 8px;
    }

    .otp-desc {
        font-size: 12px;
        color: #888;
        margin-bottom: 18px;
        line-height: 1.7;
    }

    .otp-boxes {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-bottom: 10px;
    }

    .otp-box {
        width: 44px;
        height: 48px;
        text-align: center;
        font-size: 18px;
        font-weight: bold;
        border: 1.5px solid #e0e0e0;
        border-radius: 10px;
        outline: none;
        background: #fafafa;
        transition: all 0.25s;
    }

    .otp-box:focus {
        border-color: #6a5acd;
        box-shadow: 0 0 0 3px rgba(106,90,205,0.12);
        background: #fff;
        transform: scale(1.05);
    }

    .otp-box.filled {
        border-color: #6a5acd;
        background: #fff;
    }

    .resend-timer {
        text-align: center;
        font-size: 11.5px;
        color: #999;
        margin-top: 8px;

    }

    .resend-timer span {
        color: #6a5acd;
        cursor: pointer;
        font-weight: bold;
    }

    /* Password strength */
    .pass-strength {
        display: flex;
        gap: 4px;
        margin-top: 5px;
        margin-bottom: 2px;
    }

    .pass-strength div {
        height: 4px;
        flex: 1;
        border-radius: 3px;
        background: #e0e0e0;
        transition: background 0.3s;
    }

    .toggle-eye {
        position: relative;
    }

    .toggle-eye .eye-btn {
        position: absolute;
        left: 10px;
        top: 32px;
        cursor: pointer;
        font-size: 13px;
        color: #999;
        background: none;
        border: none;
    }

    /* Buttons */
    .btn-row {
        display: flex;
        gap: 10px;
        margin-top: 18px;
    }

    .btn {
        flex: 1;
        padding: 10px;
        border: none;
        border-radius: 9px;
        font-size: 13px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.25s;
    }

    .btn-primary {
  background: linear-gradient(135deg, #2c13b8, #7f6aec);
        color: #fff;
        box-shadow: 0 6px 15px rgba(106,90,205,0.35);
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(106,90,205,0.45);
    }

    .btn-primary:active {
        transform: translateY(0);
    }

    .btn-secondary {
        background: #f0f0f0;
        color: #666;
    }

    .btn-secondary:hover {
        background: #e5e5e5;
    }

    .success-screen {
        text-align: center;
        padding: 40px 20px;
    }

    .success-screen .check {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        background: #2ecc71;
        color: #fff;
        font-size: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px;
        animation: popIn 0.5s ease;
    }

    @keyframes popIn {
        0% { transform: scale(0); }
        70% { transform: scale(1.15); }
        100% { transform: scale(1); }
    }

    .success-screen h3 {
        color: #333;
        font-size: 16px;
        margin-bottom: 6px;
    }

    .success-screen p {
        color: #999;
        font-size: 12.5px;
    }

    .row-2 {
        display: flex;
        gap: 10px;
    }

    .row-2 .field-group {
        flex: 1;
    }
