@font-face {
    font-family: iransans;
    src: url('../font/IRANSansWeb\(FaNum\).ttf');
}
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
    font-family: iransans;
    background-image: linear-gradient(#0077B6, #023e8ad1), url(assets/assets/img/img-loginnn.png);
    min-height: 100vh;
    padding: 40px 20px;
    display: flex
;
    justify-content: center;
    align-items: center;
    background-size: cover;
        }

        /* انیمیشن Fade In */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        .container {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(20px);
            border-radius: 30px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
            max-width: 900px;
            width: 100%;
            padding: 50px;
            opacity: 0;
            animation: fadeInUp 0.8s ease forwards;
        }

        h1 {
            text-align: center;
            color: white;
            margin-bottom: 30px;
            font-size: 2.5em;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
            font-weight: 700;
            opacity: 0;
            animation: fadeIn 1s ease forwards 0.3s;
        }

        .form-row {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 25px;
            margin-bottom: 3px;
        }

        .form-group {
            position: relative;
            opacity: 0;
            animation: fadeInUp 0.6s ease forwards;
        }

        /* تاخیر متفاوت برای هر المان */
        .form-group:nth-child(1) { animation-delay: 0.1s; }
        .form-group:nth-child(2) { animation-delay: 0.2s; }
        .form-group:nth-child(3) { animation-delay: 0.3s; }
        .form-group:nth-child(4) { animation-delay: 0.4s; }
        .form-group:nth-child(5) { animation-delay: 0.5s; }
        .form-group:nth-child(6) { animation-delay: 0.6s; }
        .form-group:nth-child(7) { animation-delay: 0.7s; }
        .form-group:nth-child(8) { animation-delay: 0.8s; }
        .form-group:nth-child(9) { animation-delay: 0.9s; }

        .form-group.full-width {
            grid-column: 1 / -1;
        }

        label {
            display: block;
            margin-bottom: 10px;
            color: white;
            font-weight: 600;
            font-size: 14px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
            padding-top: 7px;
        }
        .label-un{
            padding-top: 35px;
        }

        .input-wrapper {
            position: relative;
        }

        input, select {
            width: 100%;
            padding: 15px 50px 15px 40px;
            background: rgba(255, 255, 255, 0.9);
            border: 2px solid transparent;
            border-radius: 15px;
            font-size: 12px;
            transition: all 0.3s;
             font-family: iransans;
        }

        input:focus, select:focus {
            outline: none;
            background: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            border-color: #23d5ab;
        }

        /* آیکون اعتبارسنجی */
        .validation-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 22px;
            opacity: 0;
            transition: all 0.3s ease;
        }

        .validation-icon.valid {
            opacity: 1;
            color: #00c851;
            animation: checkPop 0.4s ease;
        }

        .validation-icon.invalid {
            opacity: 1;
            color: #ff4444;
            animation: shake 0.4s ease;
        }

        @keyframes checkPop {
            0%, 100% { transform: translateY(-50%) scale(1); }
            50% { transform: translateY(-50%) scale(1.3); }
        }

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

        /* پیام راهنما */
        .helper-text {
            font-size: 12px;
            margin-top: 6px;
            padding: 5px 10px;
            border-radius: 8px;
            opacity: 0;
            transform: translateY(-5px);
            transition: all 0.3s ease;
        }

        .helper-text.show {
            opacity: 1;
            transform: translateY(0);
        }

        .helper-text.info {
            color: white;
            background: rgba(33, 150, 243, 0.3);
        }

        .helper-text.success {
            color: white;
            background: rgba(0, 200, 81, 0.3);
        }

        .helper-text.error {
            color: white;
            background: rgba(255, 68, 68, 0.3);
        }

        /* استایل input در حالت valid */
        input.valid, select.valid {
            border-color: #00c851;
            background: rgba(0, 200, 81, 0.1);
            color: white;
        }

        /* استایل input در حالت invalid */
        input.invalid, select.invalid {
            border-color: #ff4444;
            background: rgba(255, 68, 68, 0.1);
        }

        .commission-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin-top: 15px;
        }

        .commission-card {
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            border: 2px solid transparent;
            border-radius: 15px;
            padding: 15px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
        }

        .commission-card:hover {
            border-color: rgba(255, 255, 255, 0.5);
            transform: translateY(-3px);
        }

        .commission-card.selected {
            border-color: #23d5ab;
            background: rgba(35, 213, 171, 0.2);
        }

        .commission-card input[type="radio"] {
            width: 22px;
            height: 22px;
            margin-left: 12px;
            cursor: pointer;
            accent-color: #23d5ab;
        }

        .commission-card label {
           margin: 0;
    cursor: pointer;
    font-weight: 400;
    padding-bottom: 7px;
        }

        .submit-btn {
             font-family: iransans;
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid white;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 11px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    opacity: 0;
    animation: fadeInUp 0.6s 
ease forwards 1s;
}
        

        .submit-btn:hover {
            background: white;
            color: #023e8a;
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .error {
            color: #ff6b6b;
            font-size: 13px;
            margin-top: 8px;
            display: none;
            background: rgba(255, 255, 255, 0.9);
            padding: 5px 10px;
            border-radius: 8px;
        }

        

        @media (max-width: 768px) {
            .form-row, .commission-grid {
                grid-template-columns: 1fr;
            }
            
            .container {
                padding: 30px 20px;
            }

            h1 {
                font-size: 1.8em;
            }
            .label-un{
                padding-top: 0px;
            }
            .label-un-responsive{
                padding-top: 54px;
            }
        }




        .success-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
        }
        
        .modal-content {
            background: white;
            padding: 2rem;
            border-radius: 10px;
            text-align: center;
            max-width: 400px;
        }
        
        .tracking-code {
            font-size: 2rem;
            font-weight: bold;
            color: #28a745;
            padding: 1rem;
            background: #f0f8ff;
            border-radius: 5px;
            margin: 1rem 0;
            font-family: monospace;
        }
        
        .error-message {
            background: #f8d7da;
            color: #721c24;
            padding: 1rem;
            border-radius: 5px;
            margin-bottom: 1rem;
            text-align: center;
        }