

    .project-form {
        background-color: #2c64fc;
        border-radius: 12px;


        padding: 2rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        border: 1px solid #e2e8f0;
        max-width: 800px;
        margin: 5% auto;
        direction: rtl;
    }

    .form-header {
        text-align: center;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
        border-bottom: 2px solid #f7fafc;
    }

    .form-title {
        color: #2d3748;
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .form-subtitle {
        color: #718096;
        font-size: 0.9rem;
    }

    .form-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .form-group {
        display: flex;
        flex-direction: column;
    }

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

    .form-label {
        display: flex;
        align-items: center;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: #4a5568;
        font-size: 0.9rem;
    }

    .label-text {
        margin-left: 0.25rem;
    }

    .required {
        color: #e53e3e;
        margin-right: 0.25rem;
        font-size: 1.2rem;
    }

    .form-input,
    .form-textarea {
        padding: 0.75rem 1rem;
        border: 2px solid #e2e8f0;
        border-radius: 8px;
        font-size: 1rem;
        transition: all 0.3s ease;
        background: #fff;
        color: black;
    }

    .form-input:focus,
    .form-textarea:focus {
        outline: none;
        border-color: #4299e1;
        box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
    }

    .form-input::placeholder,
    .form-textarea::placeholder {
        color: #1f1f1f;
    }

    .form-textarea {
        resize: vertical;
        min-height: 120px;
        font-family: inherit;
    }

    .form-hint {
        font-size: 0.8rem;
        color: #718096;
        margin-top: 0.25rem;
    }

    .file-upload-container {
        position: relative;
    }

    .file-input {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
        z-index: 2;
    }

    .file-upload-area {
        border: 2px dashed #cbd5e0;
        border-radius: 8px;
        padding: 2rem 1rem;
        text-align: center;
        transition: all 0.3s ease;
        background: #f7fafc;
        position: relative;
        z-index: 1;
    }

    .file-upload-area:hover {
        border-color: #4299e1;
        background: #edf2f7;
    }

    .file-upload-area.dragover {
        border-color: #4299e1;
        background: #ebf8ff;
    }

    .upload-icon {
        font-size: 2rem;
        display: block;
        margin-bottom: 0.5rem;
    }

    .upload-text {
        display: block;
        font-weight: 600;
        color: #4a5568;
        margin-bottom: 0.25rem;
    }

    .file-types {
        font-size: 0.8rem;
        color: #718096;
    }

    .image-preview-container,
    .video-preview-container {
        margin-top: 1rem;
        display: none;
    }

    .preview-image {
        max-width: 200px;
        max-height: 150px;
        border-radius: 8px;
        border: 2px solid #e2e8f0;
    }

    .preview-video {
        max-width: 300px;
        border-radius: 8px;
        border: 2px solid #e2e8f0;
    }

    .char-counter {
        text-align: left;
        font-size: 0.8rem;
        color: #718096;
        margin-top: 0.25rem;
    }

    .form-actions {
        display: flex;
        gap: 1rem;
        justify-content: flex-end;
        padding-top: 1.5rem;
        border-top: 2px solid #f7fafc;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        border: none;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .btn-primary {
        background: #4299e1;
        color: white;
    }

    .btn-primary:hover {
        background: #3182ce;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(66, 153, 225, 0.3);
    }

    .btn-secondary {
        background: #e2e8f0;
        color: #4a5568;
    }

    .btn-secondary:hover {
        background: #cbd5e0;
        transform: translateY(-1px);
    }

    /* رسپانسیو */
    @media (max-width: 768px) {
        .form-grid {
            grid-template-columns: 1fr;
        }

        .project-form {
            padding: 1rem;
            margin: 0 1rem;
        }

        .form-actions {
            flex-direction: column;
        }

        .btn {
            width: 100%;
            justify-content: center;
        }
    }



