* {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
.rfpdatalogger {
            width: 100%;
            height: 100%;
            padding: 0px;
            margin: 0px;
            background: rgba(15, 23, 42, 0.6);
            backdrop-filter: blur(8px);
            position: fixed;
            top: 0;
            left: 0;
            display: none;
            z-index: 1000;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .rfpdatalogger.active {
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 1;
        }

        /* دکمه بستن */
        .closepage {
            font-size: 2rem;
            padding: 10px;
            margin: 0;
            cursor: pointer;
            position: absolute;
            top: 20px;
            right: 30px;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: #64748b;
            transition: all 0.3s ease;
            z-index: 1001;
        }

        .closepage:hover {
            background: rgba(239, 68, 68, 0.2);
            color: #ef4444;
            transform: rotate(90deg);
        }

        /* بدنه اصلی فرم */
        .rfpdatalogger_body {
            width: 90%;
            max-width: 900px;
            height: 95dvh;
            overflow: visible;
            margin-top: 10dvw;
            margin: auto;
            padding: 0;
            background: #ffffff;
            border-radius: 24px;
            box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
            position: relative;
        }

        /* هدر فرم */
        .form-header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            padding: 30px 40px;
            border-radius: 24px 24px 0 0;
            text-align: center;
        }

        .form-header h2 {
            color: white;
            font-size: 1.8rem;
            margin-bottom: 10px;
        }

        .form-header p {
            color: rgba(255, 255, 255, 0.85);
            font-size: 1rem;
        }

        /* محتوای قابل اسکرول */
        .form-content {
            max-height: calc(78vh);
            overflow-y: auto;
            overflow-x: hidden;
            padding: 30px 40px;
        }

        /* اسکرول بار سفارشی */
        .form-content::-webkit-scrollbar {
            width: 6px;
        }

        .form-content::-webkit-scrollbar-track {
            background: #f1f5f9;
            border-radius: 10px;
        }

        .form-content::-webkit-scrollbar-thumb {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 10px;
        }

        .form-content::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
        }

        /* کانتینر هر سوال */
        .question-block {
            background: #f8fafc;
            border-radius: 16px;
            padding: 24px;
            margin-bottom: 24px;
            border: 1px solid #e2e8f0;
            transition: all 0.3s ease;
        }

        .question-block:hover {
            border-color: #c7d2fe;
            box-shadow: 0 4px 20px rgba(102, 126, 234, 0.1);
        }

        /* عنوان سوال */
        .question-title {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 20px;
        }

        .question-number {
            width: 36px;
            height: 36px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1rem;
            flex-shrink: 0;
        }

        .qtext {
            font-size: 1.1rem;
            font-weight: 600;
            color: #1e293b;
            margin: 0;
            line-height: 1.6;
        }

        /* گزینه‌ها */
        .options-container {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .option-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            background: white;
            border-radius: 12px;
            border: 2px solid #e2e8f0;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .option-item:hover {
            border-color: #a5b4fc;
            background: #f8fafc;
        }

        .option-item input[type="checkbox"],
        .option-item input[type="radio"] {
            width: 20px;
            height: 20px;
            accent-color: #667eea;
            cursor: pointer;
            flex-shrink: 0;
        }

        .option-item label {
            cursor: pointer;
            color: #475569;
            font-size: 0.95rem;
            flex: 1;
        }

        .option-item:has(input:checked) {
            border-color: #667eea;
            background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
        }

        .option-item:has(input:checked) label {
            color: #4338ca;
            font-weight: 500;
        }

        /* دکمه نمایش textarea */
        .show-desc-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-top: 16px;
            padding: 10px 20px;
            background: white;
            border: 2px dashed #94a3b8;
            border-radius: 10px;
            color: #64748b;
            font-family: 'vazir', sans-serif;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .show-desc-btn:hover {
            border-color: #667eea;
            color: #667eea;
            background: #f8fafc;
        }

        .show-desc-btn svg {
            width: 18px;
            height: 18px;
            transition: transform 0.3s ease;
        }

        .show-desc-btn.active svg {
            transform: rotate(180deg);
        }

        .show-desc-btn.active {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-color: transparent;
            color: white;
        }

        /* textarea */
        .desc-container {
            margin-top: 16px;
            display: none;
            animation: slideDown 0.3s ease;
        }

        .desc-container.active {
            display: block;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .desc-container textarea {
            width: 100%;
            height: 120px;
            padding: 16px;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            font-family: 'vazir', sans-serif;
            font-size: 0.95rem;
            resize: none;
            outline: none;
            transition: all 0.3s ease;
            background: white;
        }

        .desc-container textarea:focus {
            border-color: #667eea;
            box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
        }

        .desc-container textarea::placeholder {
            color: #94a3b8;
        }

        /* خط جداکننده */
        .divider {
            height: 1px;
            background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
            margin: 24px 0;
        }

        /* بخش تماس */
        .contact-section {
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
            border-radius: 16px;
            padding: 24px;
            margin-top: 24px;
            border: 1px solid #bae6fd;
        }

        .contact-section .qtext {
            color: #0369a1;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .contact-section .qtext::before {
            content: '';
        }

        .contact-inputs {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 16px;
        }

        .contact-inputs input {
            width: 100%;
            padding: 14px 20px;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            font-family: 'vazir', sans-serif;
            font-size: 1rem;
            outline: none;
            transition: all 0.3s ease;
            background: white;
        }

        .contact-inputs input:focus {
            border-color: #0ea5e9;
            box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
        }

        .contact-inputs input::placeholder {
            color: #94a3b8;
        }

        /* دکمه ارسال */
        .submit-btn {
            width: 100%;
            padding: 18px 32px;
            margin-top: 30px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            border-radius: 16px;
            font-family: 'vazir', sans-serif;
            font-size: 1.2rem;
            font-weight: 600;
            cursor: pointer;
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
        }

        .submit-btn:active {
            transform: scale(0.98);
        }

        .submit-btn svg {
            width: 24px;
            height: 24px;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .rfpdatalogger_body {
                width: 95%;
                max-height: 90vh;
                margin: 20px;
            }

            .form-header {
                padding: 24px;
            }

            .form-header h2 {
                font-size: 1.4rem;
            }

            .form-content {
                padding: 20px;
                max-height: calc(90vh - 160px);
            }

            .question-block {
                padding: 20px;
            }

            .qtext {
                font-size: 1rem;
            }

            .option-item {
                padding: 10px 12px;
            }

            .contact-inputs {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 480px) {
            .closepage {
                top: 10px;
                right: 15px;
                width: 40px;
                height: 40px;
                font-size: 1.5rem;
            }

            .question-title {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
            }

            .question-number {
                width: 28px;
                height: 28px;
                font-size: 0.85rem;
            }
        }